From 748405473bed854628698569f82ba412f05076c0 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Fri, 7 Jun 2024 10:51:13 +0800 Subject: [PATCH] Fix https://github.com/2dust/v2rayNG/issues/3175 --- .../app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt index 94e09e475..31c980cd6 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/util/AngConfigManager.kt @@ -215,8 +215,7 @@ object AngConfigManager { } //maybe Subscription - if (TextUtils.isEmpty(subid) - && (str.startsWith(PROTOCOL_HTTP) || str.startsWith(PROTOCOL_HTTPS)) + if ((str.startsWith(PROTOCOL_HTTP) || str.startsWith(PROTOCOL_HTTPS)) ) { MmkvManager.importUrlAsSubscription(str) return 0