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

@@ -73,8 +73,9 @@ import Account
lastTimedRefresh = Date()
update()
//AccountManager.shared.refreshAll(errorHandler: ErrorHandler.log)
AccountManager.shared.refreshAll(completion: nil)
Task { @MainActor in
await AccountManager.shared.refreshAll()
}
}
}