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:
Alexander Capehart 2023-06-08 13:33:30 -06:00
parent 59280cc6d5
commit abe4255986
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 1 additions and 1 deletions

View file

@ -8,6 +8,7 @@
#### What's Fixed
- Disc number is no longer mis-aligned when no subtitle is present
- Fixed selection not updating when playlists are changed
## 3.1.1

View file

@ -56,7 +56,6 @@ constructor(
}
override fun onMusicChanges(changes: MusicRepository.Changes) {
if (!changes.deviceLibrary) return
val deviceLibrary = musicRepository.deviceLibrary ?: return
val userLibrary = musicRepository.userLibrary ?: return
// Sanitize the selection to remove items that no longer exist and thus