We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc8b6f commit 8cfb190Copy full SHA for 8cfb190
messaging/MessagingExampleSwift/AppDelegate.swift
@@ -122,9 +122,9 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
122
// Note: UNNotificationPresentationOptions.alert has been deprecated.
123
let options: UNNotificationPresentationOptions
124
if #available(iOS 14.0, *) {
125
- option = [.list, .banner, .sound]
+ options = [.list, .banner, .sound]
126
} else {
127
- option = [.alert, .sound]
+ options = [.alert, .sound]
128
}
129
130
return options
0 commit comments