mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Hide song/album/artist sector when there are no elements to show
This commit is contained in:
parent
b5eaa1e523
commit
02d6ad9629
3 changed files with 13 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue