summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-04-27 18:17:51 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-04-28 13:52:57 +0200
commit93ef96a63245b181af3e48b3b7fe77fc32b7a293 (patch)
tree875111e65bafe1a9ce4318d7f4fd866ad4ae1be3
parentedba96b4dafb0f07034086e7c280227d40342bbe (diff)
downloadmullvadvpn-93ef96a63245b181af3e48b3b7fe77fc32b7a293.tar.xz
mullvadvpn-93ef96a63245b181af3e48b3b7fe77fc32b7a293.zip
Reformat code
-rw-r--r--ios/MullvadVPN/Notifications/NotificationManager.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/MullvadVPN/Notifications/NotificationManager.swift b/ios/MullvadVPN/Notifications/NotificationManager.swift
index f129fc56ce..6536ae09fc 100644
--- a/ios/MullvadVPN/Notifications/NotificationManager.swift
+++ b/ios/MullvadVPN/Notifications/NotificationManager.swift
@@ -204,9 +204,7 @@ final class NotificationManager: NotificationProviderDelegate {
if let replaceNotificationDescriptor = notificationProvider.notificationDescriptor {
newNotificationDescriptors = notificationProviders
.compactMap { notificationProvider -> InAppNotificationDescriptor? in
- if replaceNotificationDescriptor.identifier == notificationProvider
- .identifier
- {
+ if replaceNotificationDescriptor.identifier == notificationProvider.identifier {
return replaceNotificationDescriptor
} else {
return inAppNotificationDescriptors.first { descriptor in