style: _updateCheck 位置

[skip changelog]
This commit is contained in:
晓丶梦丶仁
2025-02-17 16:09:27 +08:00
parent c4c529f3a2
commit 0fab23f4e4

View File

@@ -232,8 +232,6 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
}
}
private bool _updateCheck = Convert.ToBoolean(ConfigurationHelper.GetGlobalValue(ConfigurationKeys.UpdateCheck, bool.TrueString));
public List<GenericCombinedData<string>> 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));
/// <summary>
/// Gets or sets a value indicating whether to check update.
/// </summary>