check for update if automatic check is not disabled

This commit is contained in:
Serhiy Mytrovtsiy
2020-07-15 16:55:59 +02:00
parent 85fb2964fd
commit eaeeb476ac

View File

@@ -94,7 +94,7 @@ extension AppDelegate {
NSApp.setActivationPolicy(dockIconStatus)
}
if updateIntervals(rawValue: store.string(key: "update-interval", defaultValue: updateIntervals.atStart.rawValue)) == .atStart {
if updateIntervals(rawValue: store.string(key: "update-interval", defaultValue: updateIntervals.atStart.rawValue)) != .never {
self.checkForNewVersion(false)
}
}