From 48fa58017fb0473b81cdbe15b0113fc4d1b79b8d Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 12:56:40 -0700 Subject: [PATCH] Adjust Push Notification Logic Nucleic-Session: 0F065CD6-20FE-4941-ACF5-C57A4572A5A3 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Notifications.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NucleicRemote/NucleicRemote/Notifications.swift b/NucleicRemote/NucleicRemote/Notifications.swift index 228a539..fb2d0dc 100644 --- a/NucleicRemote/NucleicRemote/Notifications.swift +++ b/NucleicRemote/NucleicRemote/Notifications.swift @@ -121,7 +121,7 @@ final class NotificationRouter: NSObject { center.getDeliveredNotifications { delivered in let stale = delivered.map(\.request.identifier).filter { $0.hasPrefix("approval-") } guard !stale.isEmpty else { return } - center.removeDeliveredNotifications(withIdentifiers: stale) + UNUserNotificationCenter.current().removeDeliveredNotifications(withIdentifiers: stale) } }