mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Deleted redundant function calls
This commit is contained in:
parent
bc02268e27
commit
91f664cbfe
2 changed files with 1 additions and 3 deletions
|
|
@ -39,6 +39,7 @@ public class PlayerBottomSheetFragment extends Fragment {
|
|||
private ListenableFuture<MediaBrowser> mediaBrowserListenableFuture;
|
||||
|
||||
// TODO: Collegare la seekbar all'exo_progress
|
||||
// TODO: Fare in modo che quando sto vedendo il testo e il bottomsheet si abbassa, devo tornare alla prima pagina
|
||||
|
||||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
|
|
|
|||
|
|
@ -137,9 +137,6 @@ public class PlayerControllerFragment extends Fragment {
|
|||
}
|
||||
|
||||
private void setMetadata(MediaMetadata mediaMetadata) {
|
||||
if (mediaMetadata.extras != null) playerBottomSheetViewModel.setLiveSong(requireActivity(), mediaMetadata.extras.getString("id"));
|
||||
if (mediaMetadata.extras != null) playerBottomSheetViewModel.setLiveArtist(requireActivity(), mediaMetadata.extras.getString("artistId"));
|
||||
|
||||
playerSongTitleLabel.setText(MusicUtil.getReadableString(String.valueOf(mediaMetadata.title)));
|
||||
playerArtistNameLabel.setText(MusicUtil.getReadableString(String.valueOf(mediaMetadata.artist)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue