mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-12 11:18:48 +00:00
parent
1b11916e1e
commit
2503583498
1 changed files with 2 additions and 1 deletions
|
@ -775,7 +775,8 @@ namespace ServiceLib.ViewModels
|
||||||
|
|
||||||
private async Task ChangeSystemProxyStatusAsync(ESysProxyType type, bool blChange)
|
private async Task ChangeSystemProxyStatusAsync(ESysProxyType type, bool blChange)
|
||||||
{
|
{
|
||||||
await _updateView?.Invoke(EViewAction.UpdateSysProxy, _config.tunModeItem.enableTun ? true : false);
|
//await _updateView?.Invoke(EViewAction.UpdateSysProxy, _config.tunModeItem.enableTun ? true : false);
|
||||||
|
await _updateView?.Invoke(EViewAction.UpdateSysProxy, false);
|
||||||
_noticeHandler?.SendMessageEx($"{ResUI.TipChangeSystemProxy} - {_config.systemProxyItem.sysProxyType.ToString()}");
|
_noticeHandler?.SendMessageEx($"{ResUI.TipChangeSystemProxy} - {_config.systemProxyItem.sysProxyType.ToString()}");
|
||||||
|
|
||||||
BlSystemProxyClear = (type == ESysProxyType.ForcedClear);
|
BlSystemProxyClear = (type == ESysProxyType.ForcedClear);
|
||||||
|
|
Loading…
Reference in a new issue