diff --git a/Account/Sources/Account/AccountManager.swift b/Account/Sources/Account/AccountManager.swift index 1d5c76135..abde11ca0 100644 --- a/Account/Sources/Account/AccountManager.swift +++ b/Account/Sources/Account/AccountManager.swift @@ -216,7 +216,7 @@ public final class AccountManager: UnreadCountProvider { accounts.forEach { $0.resume() } } - public func receiveRemoteNotification(userInfo: [AnyHashable : Any]) async { + @MainActor public func receiveRemoteNotification(userInfo: [AnyHashable : Any]) async { for account in activeAccounts { await account.receiveRemoteNotification(userInfo: userInfo)