Update deprecated.

This commit is contained in:
Max Goedjen 2020-09-10 23:32:31 -07:00
parent a2fc80a9db
commit 915f0f9075
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8
1 changed files with 1 additions and 1 deletions

View File

@ -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])
}
}