Skip to content

Commit

Permalink
fix: add real delay test for custom config (#5377)
Browse files Browse the repository at this point in the history
  • Loading branch information
M03ED committed Jul 21, 2024
1 parent 4938ce6 commit 06d0c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2rayN/v2rayN/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ private void ServerSelectedChanged(bool c)
public void TestServerAvailability()
{
var item = ConfigHandler.GetDefaultServer(_config);
if (item == null || item.configType == EConfigType.Custom)
if (item == null)
{
return;
}
Expand Down Expand Up @@ -1293,4 +1293,4 @@ private void AutoHideStartup()

#endregion UI
}
}
}

0 comments on commit 06d0c65

Please sign in to comment.