From 3283c23833ca6c2c569c82039353802bbbb6493e Mon Sep 17 00:00:00 2001 From: Random Guy <50927468+M03ED@users.noreply.github.com> Date: Thu, 18 Jul 2024 12:09:15 +0330 Subject: [PATCH] fix: add real delay test for custom config --- v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs b/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs index 86396b46..b751b468 100644 --- a/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs +++ b/v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs @@ -1208,7 +1208,7 @@ namespace v2rayN.ViewModels public void TestServerAvailability() { var item = ConfigHandler.GetDefaultServer(_config); - if (item == null || item.configType == EConfigType.Custom) + if (item == null) { return; } @@ -1891,4 +1891,4 @@ namespace v2rayN.ViewModels #endregion UI } -} \ No newline at end of file +}