diff --git a/apple/OmnivoreKit/Sources/App/Views/Profile/PushNotificationSettingsView.swift b/apple/OmnivoreKit/Sources/App/Views/Profile/PushNotificationSettingsView.swift index aaf50a9cd..9e3bd7678 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Profile/PushNotificationSettingsView.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Profile/PushNotificationSettingsView.swift @@ -25,7 +25,8 @@ func checkPushNotificationsStatus() { UNUserNotificationCenter.current().getNotificationSettings { settings in DispatchQueue.main.async { - self.desiredNotificationsEnabled = settings.alertSetting == UNNotificationSetting.enabled + let desired = UserDefaults.standard.bool(forKey: UserDefaultKey.notificationsEnabled.rawValue) + self.desiredNotificationsEnabled = desired && settings.alertSetting == UNNotificationSetting.enabled } } }