mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +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