This commit is contained in:
世界
2023-07-27 11:31:48 +08:00
parent 2bd462c789
commit 5a8f3a770f
4 changed files with 5 additions and 5 deletions
-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 []