|
@@ -145,7 +145,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|
|
self.pushToDebugArray("📡'")
|
|
|
logger.info("Notifications: remoteNotification: \(String(describing: notificationOption))")
|
|
|
increaseDebugCounter("notify-remote-launch")
|
|
|
- performFetch(completionHandler: dummyCompletionHandler)
|
|
|
+ performFetch(completionHandler: { (_) -> Void in })
|
|
|
}
|
|
|
|
|
|
if dcAccounts.getSelected().isConfigured() && !UserDefaults.standard.bool(forKey: "notifications_disabled") {
|
|
@@ -159,9 +159,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
|
|
|
return true
|
|
|
}
|
|
|
|
|
|
- func dummyCompletionHandler(_ result: UIBackgroundFetchResult) {
|
|
|
- }
|
|
|
-
|
|
|
// `open` is called when an url should be opened by Delta Chat.
|
|
|
// we currently use that for handling oauth2 and for handing openpgp4fpr.
|
|
|
//
|