Improved await _updateView

This commit is contained in:
2dust
2024-10-08 14:55:06 +08:00
parent b2669103dc
commit f5956e7bf0
11 changed files with 19 additions and 19 deletions
@@ -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 });
});
}