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()