- update readers update interval (moved to one list of intervals)

This commit is contained in:
Serhiy Mytrovtsiy
2020-10-23 15:12:05 +02:00
parent 86aaa57a21
commit e7a57ca64e
14 changed files with 130 additions and 75 deletions

View File

@@ -91,7 +91,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
self.updateActivity.invalidate()
self.updateActivity.repeats = true
guard let updateInterval = updateIntervals(rawValue: store.string(key: "update-interval", defaultValue: updateIntervals.atStart.rawValue)) else {
guard let updateInterval = AppUpdateIntervals(rawValue: store.string(key: "update-interval", defaultValue: AppUpdateIntervals.atStart.rawValue)) else {
return
}
os_log(.debug, log: log, "Application update interval is '%s'", "\(updateInterval.rawValue)")