Skip to content
Snippets Groups Projects
Commit a6a21bb5 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Watch media in PlaylistViewModel to allow the favorite state refresh

parent 2c6d4b76
No related branches found
No related tags found
2 merge requests!1702Bump the aar artifacts,!1691Draft: Implement the only favorites queries
Pipeline #322085 canceled with stage
in 3 seconds
......@@ -49,7 +49,10 @@ class PlaylistViewModel(context: Context, private val initialPlaylist: MediaLibr
init {
when (initialPlaylist) {
is Playlist -> watchPlaylists()
is Playlist -> {
watchPlaylists()
watchMedia()
}
is Album -> {
watchAlbums()
watchMedia()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment