mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Hide song/album/artist sector when there are no elements to show
This commit is contained in:
@@ -47,7 +47,7 @@ public class LibraryViewModel extends AndroidViewModel {
|
||||
|
||||
sampleAlbum = albumRepository.getAlbums("random", 20);
|
||||
sampleArtist = artistRepository.getArtists(true, 20);
|
||||
sampleGenres = new MutableLiveData<>();
|
||||
sampleGenres = new MutableLiveData<>(new ArrayList<>());
|
||||
playlistSample = playlistRepository.getPlaylists(true, 10);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user