From a5972c7de18c8a305865cb90126b310f3fb72810 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Wed, 3 Aug 2022 17:39:01 +0100 Subject: [PATCH] ios: register group defaults to correctly read network settings in NSE (#882) --- apps/ios/SimpleX NSE/NotificationService.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ios/SimpleX NSE/NotificationService.swift b/apps/ios/SimpleX NSE/NotificationService.swift index 4733f699ee..e107a8bdf2 100644 --- a/apps/ios/SimpleX NSE/NotificationService.swift +++ b/apps/ios/SimpleX NSE/NotificationService.swift @@ -67,6 +67,7 @@ class NotificationService: UNNotificationServiceExtension { ntfBadgeCountGroupDefault.set(badgeCount) setBestAttemptNtf(request.content.mutableCopy() as? UNMutableNotificationContent) self.contentHandler = contentHandler + registerGroupDefaults() let appState = appStateGroupDefault.get() switch appState { case .suspended: