Disable popup for fresh installs

This commit is contained in:
ismailgulek 2020-08-03 15:15:33 +03:00
parent e978cce7a7
commit b032a0e1c7
No known key found for this signature in database
GPG key ID: E96336D42D9470A9

View file

@ -32,7 +32,7 @@ final public class MajorUpdateManager: NSObject {
var shouldShowMajorUpdate: Bool {
guard let lastUsedAppVersion = AppVersion.lastUsed else {
NSLog("[MajorUpdateManager] shouldShowMajorUpdate: Unknown previous version")
return true
return false
}
let shouldShowMajorUpdate = (lastUsedAppVersion.compare(Constants.lastMajorAppVersion) == .orderedAscending)