Convert refreshAll to async/await.

This commit is contained in:
Brent Simmons
2024-03-25 23:36:27 -07:00
parent c18bb074d0
commit b2da353e8a
5 changed files with 70 additions and 59 deletions

View File

@@ -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?) {