mirror of
https://github.com/yattee/yattee.git
synced 2025-11-25 18:58:21 +00:00
Accounts loading improvements
This commit is contained in:
@@ -123,4 +123,10 @@ final class PlaylistsModel: ObservableObject {
|
||||
private var resource: Resource? {
|
||||
accounts.api.playlists
|
||||
}
|
||||
|
||||
func onAccountChange() {
|
||||
error = nil
|
||||
playlists = []
|
||||
load()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user