fix: add real delay test for custom config (#5377)

This commit is contained in:
Random Guy 2024-07-21 07:14:12 +03:30 committed by GitHub
parent 4938ce6364
commit 06d0c6517d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -736,7 +736,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;
} }
@ -1293,4 +1293,4 @@ namespace v2rayN.ViewModels
#endregion UI #endregion UI
} }
} }