Fix issue with reloading playlists

This commit is contained in:
Arkadiusz Fal 2022-09-12 17:23:00 +02:00
parent 9676aa9f79
commit 8c2ffa1b99

View File

@ -124,6 +124,8 @@ struct PlaylistsView: View {
resource?.load()
}
.onChange(of: currentPlaylist) { _ in
channelPlaylist.clear()
userPlaylist.clear()
resource?.load()
}
.onChange(of: model.reloadPlaylists) { _ in