mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
chore: 免得点一次小眼睛就改一次配置文件
[skip changelog]
This commit is contained in:
@@ -255,7 +255,11 @@ public class VersionUpdateSettingsUserControlModel : PropertyChangedBase
|
||||
get => _mirrorChyanCdk;
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _mirrorChyanCdk, value);
|
||||
if (!SetAndNotify(ref _mirrorChyanCdk, value))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
value = SimpleEncryptionHelper.Encrypt(value);
|
||||
ConfigurationHelper.SetGlobalValue(ConfigurationKeys.MirrorChyanCdk, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user