diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-06-08 14:34:13 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-06-08 14:41:04 +0200 |
| commit | 69e2f81e7658c70a46ed7705e54368c7249e34cb (patch) | |
| tree | 8225abd4eaf5dce20c77cdc398e40c5824b2a016 | |
| parent | ac8deecc4ebd4a71810006d221292c03e36ad120 (diff) | |
| download | mullvadvpn-69e2f81e7658c70a46ed7705e54368c7249e34cb.tar.xz mullvadvpn-69e2f81e7658c70a46ed7705e54368c7249e34cb.zip | |
AppDelegate: rename func to setupNotifcations()
| -rw-r--r-- | ios/MullvadVPN/AppDelegate.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/AppDelegate.swift b/ios/MullvadVPN/AppDelegate.swift index 6090ccdd82..3b8a111947 100644 --- a/ios/MullvadVPN/AppDelegate.swift +++ b/ios/MullvadVPN/AppDelegate.swift @@ -120,7 +120,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD registerBackgroundTasks() setupPaymentHandler() - setupNotificationHandler() + setupNotifications() addApplicationNotifications(application: application) startInitialization(application: application) @@ -362,7 +362,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD storePaymentManager.addPaymentObserver(tunnelManager) } - private func setupNotificationHandler() { + private func setupNotifications() { NotificationManager.shared.notificationProviders = [ RegisteredDeviceInAppNotificationProvider(tunnelManager: tunnelManager), TunnelStatusNotificationProvider(tunnelManager: tunnelManager), |
