From 90bea4e89598d00f4cd67511f77fd96506537631 Mon Sep 17 00:00:00 2001 From: tisfeng Date: Sat, 27 Jan 2024 12:52:44 +0800 Subject: [PATCH] fix: automaticallyDownloadsUpdates in GlobalContext is wrong --- Easydict/Feature/Configuration/Configuration.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Easydict/Feature/Configuration/Configuration.swift b/Easydict/Feature/Configuration/Configuration.swift index c78b3f2b1..a0f11f21a 100644 --- a/Easydict/Feature/Configuration/Configuration.swift +++ b/Easydict/Feature/Configuration/Configuration.swift @@ -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]) } }