mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Pull to refresh fixes, added alert for playlist error
This commit is contained in:
@@ -53,8 +53,9 @@ final class PlaylistsModel: ObservableObject {
|
||||
onSuccess()
|
||||
}
|
||||
}
|
||||
.onFailure { _ in
|
||||
.onFailure { error in
|
||||
self.playlists = []
|
||||
NavigationModel.shared.presentAlert(title: "Could not refresh Playlists", message: error.userMessage)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user