list: actually update playlist selections
Remove an incorrect change check resulting in the selection not updating when playlist information changed. Resolves #476.
This commit is contained in:
parent
59280cc6d5
commit
abe4255986
2 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
#### What's Fixed
|
#### What's Fixed
|
||||||
- Disc number is no longer mis-aligned when no subtitle is present
|
- Disc number is no longer mis-aligned when no subtitle is present
|
||||||
|
- Fixed selection not updating when playlists are changed
|
||||||
|
|
||||||
## 3.1.1
|
## 3.1.1
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,6 @@ constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onMusicChanges(changes: MusicRepository.Changes) {
|
override fun onMusicChanges(changes: MusicRepository.Changes) {
|
||||||
if (!changes.deviceLibrary) return
|
|
||||||
val deviceLibrary = musicRepository.deviceLibrary ?: return
|
val deviceLibrary = musicRepository.deviceLibrary ?: return
|
||||||
val userLibrary = musicRepository.userLibrary ?: return
|
val userLibrary = musicRepository.userLibrary ?: return
|
||||||
// Sanitize the selection to remove items that no longer exist and thus
|
// Sanitize the selection to remove items that no longer exist and thus
|
||||||
|
|
Loading…
Reference in a new issue