Skip to content

Commit ddd2d98

Browse files
authored
Update WiFiConnectViewModel.cs
1 parent 27698c4 commit ddd2d98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/NETworkManager/ViewModels/WiFiConnectViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,13 +345,13 @@ public async Task CheckWpsAsync()
345345

346346
IsWpsChecking = true;
347347
// Make the user happy, let him see a reload animation (and he cannot spam the reload command)
348-
await Task.Delay(1250);
348+
await Task.Delay(GlobalStaticConfiguration.ApplicationUIRefreshInterval / 2);
349349

350350
IsWpsAvailable =
351351
await WiFi.IsWpsAvailable(Options.AdapterInfo.WiFiAdapter, Options.NetworkInfo.AvailableNetwork);
352352

353353
// Make the user happy, let him see a reload animation (and he cannot spam the reload command)
354-
await Task.Delay(1250);
354+
await Task.Delay(GlobalStaticConfiguration.ApplicationUIRefreshInterval / 2);
355355
IsWpsChecking = false;
356356
}
357357

@@ -370,4 +370,4 @@ private void ValidatePassword()
370370
{
371371
IsPasswordEmpty = Password == null || Password.Length == 0;
372372
}
373-
}
373+
}

0 commit comments

Comments
 (0)