Dialog content has changed follow font
This commit is contained in:
parent
038e872e7a
commit
c6c89e9b9e
36 changed files with 161 additions and 87 deletions
|
@ -61,7 +61,7 @@ class LibraryViewModel(
|
|||
|
||||
private val loadArtists: Deferred<List<Artist>>
|
||||
get() = viewModelScope.async(IO) {
|
||||
realRepository.allArtists()
|
||||
realRepository.albumArtists()
|
||||
}
|
||||
|
||||
private val loadPlaylists: Deferred<List<Playlist>>
|
||||
|
|
|
@ -75,14 +75,14 @@ class HomeFragment :
|
|||
lastAdded.setOnClickListener {
|
||||
findActivityNavController(R.id.fragment_container).navigate(
|
||||
R.id.playlistDetailsFragment,
|
||||
bundleOf(EXTRA_PLAYLIST to LastAddedPlaylist(requireActivity()))
|
||||
bundleOf(EXTRA_PLAYLIST to LastAddedPlaylist())
|
||||
)
|
||||
}
|
||||
|
||||
topPlayed.setOnClickListener {
|
||||
findActivityNavController(R.id.fragment_container).navigate(
|
||||
R.id.playlistDetailsFragment,
|
||||
bundleOf(EXTRA_PLAYLIST to TopTracksPlaylist(requireActivity()))
|
||||
bundleOf(EXTRA_PLAYLIST to TopTracksPlaylist())
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ class HomeFragment :
|
|||
history.setOnClickListener {
|
||||
requireActivity().findNavController(R.id.fragment_container).navigate(
|
||||
R.id.playlistDetailsFragment,
|
||||
bundleOf(EXTRA_PLAYLIST to HistoryPlaylist(requireActivity()))
|
||||
bundleOf(EXTRA_PLAYLIST to HistoryPlaylist())
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue