Code optimization

This commit is contained in:
2dust
2024-10-24 15:35:37 +08:00
parent b013213745
commit 3fafc6de93
8 changed files with 29 additions and 55 deletions

View File

@@ -321,7 +321,7 @@ namespace ServiceLib.ViewModels
NoticeHandler.Instance.SendMessageEx($"{ResUI.TipChangeSystemProxy} - {_config.SystemProxyItem.SysProxyType.ToString()}");
SystemProxySelected = (int)_config.SystemProxyItem.SysProxyType;
await ConfigHandler.SaveConfig(_config, false);
await ConfigHandler.SaveConfig(_config);
}
public async Task ChangeSystemProxyAsync(ESysProxyType type, bool blChange)