mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 11:48:10 +00:00
Await push-triggered syncs instead of doing fire-and-forget.
This commit is contained in:
1 parent
5d6d6d2922
commit
86e69b5899
1 file changed
+2
-4
@@ -301,10 +301,8 @@ import ActivityLog
|
||||
}
|
||||
|
||||
public func receiveRemoteNotification(userInfo: [AnyHashable: Any]) async {
|
||||
Task {
|
||||
for account in activeAccounts {
|
||||
await account.receiveRemoteNotification(userInfo: userInfo)
|
||||
}
|
||||
for account in activeAccounts {
|
||||
await account.receiveRemoteNotification(userInfo: userInfo)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user