chore: 免得点一次小眼睛就改一次配置文件

[skip changelog]
This commit is contained in:
uye
2025-01-30 00:50:13 +08:00
parent a473c610d8
commit f28bff152b

View File

@@ -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);
}