From 77354334b3c81d6c911f3f721839694665eb5032 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Fri, 10 Apr 2020 12:17:03 +0200 Subject: [PATCH] fix ios service --- example/ios/Notifications/NotificationService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ios/Notifications/NotificationService.swift b/example/ios/Notifications/NotificationService.swift index c264de5d..7d085536 100644 --- a/example/ios/Notifications/NotificationService.swift +++ b/example/ios/Notifications/NotificationService.swift @@ -42,7 +42,7 @@ final class NotificationService: UNNotificationServiceExtension { sharedDefaults.setValue(storedMessages + [encodedString], forKey: "messageQueue") // Modify the notification content here... - self.bestAttemptContent?.title = "[modified] \(self?.bestAttemptContent?.title ?? "")" + self?.bestAttemptContent?.title = "[modified] \(self?.bestAttemptContent?.title ?? "")" contentHandler(self?.bestAttemptContent ?? request.content) } Client.shared.disconnect()