mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Convert refreshAll to async/await.
This commit is contained in:
@@ -543,7 +543,10 @@ import Sparkle
|
||||
}
|
||||
|
||||
@IBAction func refreshAll(_ sender: Any?) {
|
||||
accountManager.refreshAll(errorHandler: ErrorHandler.present)
|
||||
|
||||
Task { @MainActor in
|
||||
await accountManager.refreshAll(errorHandler: ErrorHandler.present)
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func showAddFeedWindow(_ sender: Any?) {
|
||||
|
||||
Reference in New Issue
Block a user