From 915f0f907517ce2fe3a40ab22d266179a130a7ad Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Thu, 10 Sep 2020 23:32:31 -0700 Subject: [PATCH] Update deprecated. --- SecretAgent/Notifier.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecretAgent/Notifier.swift b/SecretAgent/Notifier.swift index 94a526e..4b94ec5 100644 --- a/SecretAgent/Notifier.swift +++ b/SecretAgent/Notifier.swift @@ -117,7 +117,7 @@ class NotificationDelegate: NSObject, UNUserNotificationCenterDelegate { } func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { - completionHandler(.alert) + completionHandler([.list, .banner]) } }