fix: add real delay test for custom config

This commit is contained in:
Random Guy 2024-07-18 12:09:15 +03:30 committed by GitHub
parent 0ffa9a0cc8
commit 3283c23833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1208,7 +1208,7 @@ namespace v2rayN.ViewModels
public void TestServerAvailability() public void TestServerAvailability()
{ {
var item = ConfigHandler.GetDefaultServer(_config); var item = ConfigHandler.GetDefaultServer(_config);
if (item == null || item.configType == EConfigType.Custom) if (item == null)
{ {
return; return;
} }
@ -1891,4 +1891,4 @@ namespace v2rayN.ViewModels
#endregion UI #endregion UI
} }
} }