This commit is contained in:
世界 committed 2023-07-27 11:31:48 +08:00
1 parent 2bd462c789
commit 5a8f3a770f
4 files changed
+5 -5

No files matched your search

-1
View File
@@ -34,7 +34,6 @@ public enum ServiceNotification {
private class Delegate: NSObject, UNUserNotificationCenterDelegate {
func userNotificationCenter(_: UNUserNotificationCenter, willPresent notification: UNNotification) async -> UNNotificationPresentationOptions {
NSLog("userNotificationCenter")
if let listener = ServiceNotification.listener {
listener(notification.request.content)
return []