diff options
| -rw-r--r-- | ios/MullvadVPN/Notifications/NotificationManager.swift | 4 |
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 |
