From 8c2ffa1b99160d7da21e06fdf71c85585f101933 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 12 Sep 2022 17:23:00 +0200 Subject: [PATCH] Fix issue with reloading playlists --- Shared/Playlists/PlaylistsView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shared/Playlists/PlaylistsView.swift b/Shared/Playlists/PlaylistsView.swift index c549c2ce..ce56d2d8 100644 --- a/Shared/Playlists/PlaylistsView.swift +++ b/Shared/Playlists/PlaylistsView.swift @@ -124,6 +124,8 @@ struct PlaylistsView: View { resource?.load() } .onChange(of: currentPlaylist) { _ in + channelPlaylist.clear() + userPlaylist.clear() resource?.load() } .onChange(of: model.reloadPlaylists) { _ in