We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3404070 commit 1a08319Copy full SHA for 1a08319
ExtensionService/AuthStatusChecker.swift
@@ -15,11 +15,11 @@ class AuthStatusChecker {
15
Task {
16
do {
17
let status = try await self.getCurrentAuthStatus()
18
- DispatchQueue.main.async {
+ await MainActor.run {
19
notify(status.description, status == .ok)
20
}
21
} catch {
22
23
notify("\(error)", false)
24
25
0 commit comments