mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
MajorUpdateManager: Add logs
This commit is contained in:
@@ -31,9 +31,14 @@ final public class MajorUpdateManager: NSObject {
|
||||
|
||||
var shouldShowMajorUpdate: Bool {
|
||||
guard let lastUsedAppVersion = AppVersion.lastUsed else {
|
||||
NSLog("[MajorUpdateManager] shouldShowMajorUpdate: Unknown previous version")
|
||||
return true
|
||||
}
|
||||
return lastUsedAppVersion.compare(Constants.lastMajorAppVersion) == .orderedAscending
|
||||
|
||||
let shouldShowMajorUpdate = (lastUsedAppVersion.compare(Constants.lastMajorAppVersion) == .orderedAscending)
|
||||
NSLog("[MajorUpdateManager] shouldShowMajorUpdate: \(shouldShowMajorUpdate). AppVersion.lastUsed: \(lastUsedAppVersion). lastMajorAppVersion: \(Constants.lastMajorAppVersion)")
|
||||
|
||||
return shouldShowMajorUpdate
|
||||
}
|
||||
|
||||
var learnMoreURL: URL {
|
||||
|
||||
Reference in New Issue
Block a user