mirror of
https://github.com/yattee/yattee.git
synced 2025-04-27 23:40:35 +05:30
Fix issue with reloading playlists
This commit is contained in:
parent
9676aa9f79
commit
8c2ffa1b99
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user