Skip to content

Commit 04761f2

Browse files
authored
Bump notification category deprecation to iOS-2022.4 (home-assistant#2004)
1 parent 42cdae5 commit 04761f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/App/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
443443
}
444444

445445
let userDefaults = UserDefaults.standard
446-
let seenKey = "category-deprecation-2-" + Current.clientVersion().description
446+
let seenKey = "category-deprecation-3-" + Current.clientVersion().description
447447

448448
guard !userDefaults.bool(forKey: seenKey) else {
449449
return
@@ -457,7 +457,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
457457

458458
let alert = UIAlertController(
459459
title: L10n.Alerts.Deprecations.NotificationCategory.title,
460-
message: L10n.Alerts.Deprecations.NotificationCategory.message("iOS-2021.2"),
460+
message: L10n.Alerts.Deprecations.NotificationCategory.message("iOS-2022.4"),
461461
preferredStyle: .alert
462462
)
463463
alert.addAction(UIAlertAction(title: L10n.Nfc.List.learnMore, style: .default, handler: { _ in

0 commit comments

Comments
 (0)