diff options
author | Vitaly Takmazov | 2020-10-08 17:22:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-12-10 18:59:55 +0300 |
commit | 5c5c4239d8b7948232870bd6d5f8d3a87c5f50d0 (patch) | |
tree | 04d6a23969cd60e7adc588bfe1c680918faafc83 /Juick/AppDelegate.swift | |
parent | cf97b1cd43a91725e0419a953815287fde0bf70f (diff) |
Fix warnings
Diffstat (limited to 'Juick/AppDelegate.swift')
-rw-r--r-- | Juick/AppDelegate.swift | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |