Skip to content

Commit

Permalink
fix: automaticallyDownloadsUpdates in GlobalContext is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Jan 27, 2024
1 parent 28c9c02 commit 90bea4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Easydict/Feature/Configuration/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ let kHideMenuBarIconKey = "EZConfiguration_kHideMenuBarIconKey"

var automaticallyChecksForUpdates: Bool {
get {
GlobalContext.shared.updaterController.updater.automaticallyDownloadsUpdates
GlobalContext.shared.updaterController.updater.automaticallyChecksForUpdates
}
set {
GlobalContext.shared.updaterController.updater.automaticallyDownloadsUpdates = newValue
GlobalContext.shared.updaterController.updater.automaticallyChecksForUpdates = newValue
logSettings(["automatically_checks_for_updates": newValue])
}
}
Expand Down

0 comments on commit 90bea4e

Please sign in to comment.