Mark receiveRemoteNotification as MainActor.
This commit is contained in:
parent
e371d31bd6
commit
64b3fcc2ba
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user