mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Warn users about incoming iOS 13 support drop.
This commit is contained in:
committed by
Stefan Ceriu
parent
5dcf44aead
commit
2a4b27e049
@@ -18,8 +18,8 @@ import Foundation
|
||||
|
||||
class VersionCheckCoordinator: Coordinator, VersionCheckBannerViewDelegate, VersionCheckAlertViewControllerDelegate {
|
||||
private enum Constants {
|
||||
static let osVersionToBeDropped = 11
|
||||
static let hasOSVersionBeenDropped = true
|
||||
static let osVersionToBeDropped = 13
|
||||
static let hasOSVersionBeenDropped = false
|
||||
static let supportURL = URL(string: "https://support.apple.com/en-gb/guide/iphone/iph3e504502/ios")
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ class VersionCheckCoordinator: Coordinator, VersionCheckBannerViewDelegate, Vers
|
||||
func start() {
|
||||
let majorOSVersion = ProcessInfo().operatingSystemVersion.majorVersion
|
||||
|
||||
guard majorOSVersion < Constants.osVersionToBeDropped else {
|
||||
guard majorOSVersion <= Constants.osVersionToBeDropped else {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user