mirror of
https://github.com/yattee/yattee.git
synced 2025-10-21 14:58:14 +00:00
Fix issue with reloading playlists
This commit is contained in:
@@ -124,6 +124,8 @@ struct PlaylistsView: View {
|
|||||||
resource?.load()
|
resource?.load()
|
||||||
}
|
}
|
||||||
.onChange(of: currentPlaylist) { _ in
|
.onChange(of: currentPlaylist) { _ in
|
||||||
|
channelPlaylist.clear()
|
||||||
|
userPlaylist.clear()
|
||||||
resource?.load()
|
resource?.load()
|
||||||
}
|
}
|
||||||
.onChange(of: model.reloadPlaylists) { _ in
|
.onChange(of: model.reloadPlaylists) { _ in
|
||||||
|
Reference in New Issue
Block a user