mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Mark receiveRemoteNotification as MainActor.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user