Browse Source

System proxy and tun mode

https://github.com/2dust/v2rayN/issues/5651
pull/5767/head
2dust 2 months ago
parent
commit
2503583498
  1. 3
      v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs

3
v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs

@ -775,7 +775,8 @@ namespace ServiceLib.ViewModels
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()}");
BlSystemProxyClear = (type == ESysProxyType.ForcedClear);

Loading…
Cancel
Save