Fix unselected proxy group delay issues

This commit is contained in:
chen08209
2025-03-08 04:36:40 +08:00
parent 68be2d34a1
commit 2aae00cf68

View File

@@ -26,6 +26,9 @@ proxyDelayTest(Proxy proxy, [String? testUrl]) async {
final url = state.testUrl.getSafeValue(
appController.getRealTestUrl(testUrl),
);
if (state.proxyName.isEmpty) {
return;
}
appController.setDelay(
Delay(
url: url,
@@ -51,6 +54,9 @@ delayTest(List<Proxy> proxies, [String? testUrl]) async {
appController.getRealTestUrl(testUrl),
);
final name = state.proxyName;
if (name.isEmpty) {
return;
}
appController.setDelay(
Delay(
url: url,