Skip to content

Commit c4b4a33

Browse files
committed
Warn users about incoming iOS 13 support drop.
1 parent 5ba0ea7 commit c4b4a33

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Riot/Modules/Home/VersionCheck/VersionCheckCoordinator.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import Foundation
1818

1919
class VersionCheckCoordinator: Coordinator, VersionCheckBannerViewDelegate, VersionCheckAlertViewControllerDelegate {
2020
private enum Constants {
21-
static let osVersionToBeDropped = 11
22-
static let hasOSVersionBeenDropped = true
21+
static let osVersionToBeDropped = 13
22+
static let hasOSVersionBeenDropped = false
2323
static let supportURL = URL(string: "https://support.apple.com/en-gb/guide/iphone/iph3e504502/ios")
2424
}
2525

@@ -52,7 +52,7 @@ class VersionCheckCoordinator: Coordinator, VersionCheckBannerViewDelegate, Vers
5252
func start() {
5353
let majorOSVersion = ProcessInfo().operatingSystemVersion.majorVersion
5454

55-
guard majorOSVersion < Constants.osVersionToBeDropped else {
55+
guard majorOSVersion <= Constants.osVersionToBeDropped else {
5656
return
5757
}
5858

changelog.d/pr-6024.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Warn users about incoming iOS 12 and 13 support drop.

0 commit comments

Comments
 (0)