From eaeeb476acbdde9a4052b863d54fac05c3101d31 Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Wed, 15 Jul 2020 16:55:59 +0200 Subject: [PATCH] check for update if automatic check is not disabled --- Stats/helpers.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stats/helpers.swift b/Stats/helpers.swift index 0301afa6..18208b33 100644 --- a/Stats/helpers.swift +++ b/Stats/helpers.swift @@ -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) } }