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. ///