Skip to content

Commit 8cfb190

Browse files
committed
[Messaging] - Fix variable typos (#1784)
1 parent 9cc8b6f commit 8cfb190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

messaging/MessagingExampleSwift/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ extension AppDelegate: UNUserNotificationCenterDelegate {
122122
// Note: UNNotificationPresentationOptions.alert has been deprecated.
123123
let options: UNNotificationPresentationOptions
124124
if #available(iOS 14.0, *) {
125-
option = [.list, .banner, .sound]
125+
options = [.list, .banner, .sound]
126126
} else {
127-
option = [.alert, .sound]
127+
options = [.alert, .sound]
128128
}
129129

130130
return options

0 commit comments

Comments
 (0)