mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-30 06:12:07 +00:00
fix: disable shuffle button if there isn't a top song list
This commit is contained in:
@@ -196,6 +196,8 @@ public class ArtistPageFragment extends Fragment implements ClickCallback {
|
||||
bind.artistPageTopTracksPlaceholder.placeholder.setVisibility(View.GONE);
|
||||
if (bind != null)
|
||||
bind.artistPageTopSongsSector.setVisibility(!songs.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null)
|
||||
bind.artistPageShuffleButton.setEnabled(!songs.isEmpty());
|
||||
songHorizontalAdapter.setItems(songs);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user