mirror of
https://github.com/2dust/v2rayN.git
synced 2026-09-29 01:52:09 +03:00
Improved await _updateView
This commit is contained in:
@@ -177,7 +177,7 @@ namespace ServiceLib.ViewModels
|
||||
}
|
||||
if (refreshUI)
|
||||
{
|
||||
await _updateView?.Invoke(EViewAction.DispatcherRefreshProxyGroups, null);
|
||||
_updateView?.Invoke(EViewAction.DispatcherRefreshProxyGroups, null);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -396,7 +396,7 @@ namespace ServiceLib.ViewModels
|
||||
return;
|
||||
}
|
||||
|
||||
await _updateView?.Invoke(EViewAction.DispatcherProxiesDelayTest, new SpeedTestResult() { IndexId = item.name, Delay = result });
|
||||
_updateView?.Invoke(EViewAction.DispatcherProxiesDelayTest, new SpeedTestResult() { IndexId = item.name, Delay = result });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user