Fixed warnings

This commit is contained in:
2dust 2025-03-17 11:07:01 +08:00
parent 7cc42ae249
commit 8597332b21
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ namespace ServiceLib.ViewModels
private async Task Init() private async Task Init()
{ {
_ = DelayTestTask(); await DelayTestTask();
} }
private async Task GetClashConnections() private async Task GetClashConnections()

View file

@ -95,7 +95,7 @@ namespace ServiceLib.ViewModels
private async Task Init() private async Task Init()
{ {
_ = DelayTestTask(); await DelayTestTask();
} }
private async Task DoRuleModeSelected(bool c) private async Task DoRuleModeSelected(bool c)
@ -366,7 +366,7 @@ namespace ServiceLib.ViewModels
private async Task ProxiesDelayTest(bool blAll = true) private async Task ProxiesDelayTest(bool blAll = true)
{ {
ClashApiHandler.Instance.ClashProxiesDelayTest(blAll, _proxyDetails.ToList(), async (item, result) => ClashApiHandler.Instance.ClashProxiesDelayTest(blAll, _proxyDetails.ToList(), (item, result) =>
{ {
if (item == null || result.IsNullOrEmpty()) if (item == null || result.IsNullOrEmpty())
{ {