From 5c5c4239d8b7948232870bd6d5f8d3a87c5f50d0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Oct 2020 17:22:59 +0300 Subject: Fix warnings --- Juick/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Juick/AppDelegate.swift') diff --git a/Juick/AppDelegate.swift b/Juick/AppDelegate.swift index d1062f4..b711d2b 100644 --- a/Juick/AppDelegate.swift +++ b/Juick/AppDelegate.swift @@ -76,7 +76,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD } // Called when a notification is delivered to a foreground app. func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { - completionHandler([.sound, .alert, .badge]) + completionHandler([.sound, .list, .banner, .badge]) } //Called to let your app know which action was selected by the user for a given notification. func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) { -- cgit v1.2.3