From 0fab23f4e465366eb7105dae8fb8d6d74dbd76a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=93=E4=B8=B6=E6=A2=A6=E4=B8=B6=E4=BB=81?= <74444214+Daydreamer114@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:09:27 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=5FupdateCheck=20=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [skip changelog] --- .../Settings/VersionUpdateSettingsUserControlModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MaaWpfGui/ViewModels/UserControl/Settings/VersionUpdateSettingsUserControlModel.cs b/src/MaaWpfGui/ViewModels/UserControl/Settings/VersionUpdateSettingsUserControlModel.cs index 822e85a291..b6cb9f2e57 100644 --- a/src/MaaWpfGui/ViewModels/UserControl/Settings/VersionUpdateSettingsUserControlModel.cs +++ b/src/MaaWpfGui/ViewModels/UserControl/Settings/VersionUpdateSettingsUserControlModel.cs @@ -232,8 +232,6 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase } } - private bool _updateCheck = Convert.ToBoolean(ConfigurationHelper.GetGlobalValue(ConfigurationKeys.UpdateCheck, bool.TrueString)); - public List> UpdateSourceList { get; } = [ new() { Display = LocalizationHelper.GetString("GlobalSource"), Value = "Github" }, new() { Display = LocalizationHelper.GetString("MirrorChyan"), Value = "MirrorChyan" }, @@ -271,6 +269,8 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase } } + private bool _updateCheck = Convert.ToBoolean(ConfigurationHelper.GetGlobalValue(ConfigurationKeys.UpdateCheck, bool.TrueString)); + /// /// Gets or sets a value indicating whether to check update. ///