Adjust Push Notification Logic

Nucleic-Session: 0F065CD6-20FE-4941-ACF5-C57A4572A5A3
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 12:56:40 -07:00
co-authored by Nucleic
parent 345840d9cc
commit 48fa58017f
@@ -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)
}
}