From 0d5f9e01034041ee3c96df4f485f481e4fa5b994 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 15 Feb 2019 17:18:46 -0700 Subject: [PATCH] Disable UserNotifications for this release --- Signal/src/UserInterface/Notifications/AppNotifications.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Signal/src/UserInterface/Notifications/AppNotifications.swift b/Signal/src/UserInterface/Notifications/AppNotifications.swift index afe1ebc6b..280c250fc 100644 --- a/Signal/src/UserInterface/Notifications/AppNotifications.swift +++ b/Signal/src/UserInterface/Notifications/AppNotifications.swift @@ -137,7 +137,8 @@ public class NotificationPresenter: NSObject, NotificationsProtocol { @objc public override init() { - if #available(iOS 10, *) { + let userNotificationsFeatureEnabled = false + if userNotificationsFeatureEnabled, #available(iOS 10, *) { self.adaptee = UserNotificationPresenterAdaptee() } else { self.adaptee = LegacyNotificationPresenterAdaptee()