diff --git a/V2rayNG/app/src/main/java/com/v2ray/ang/util/Utils.kt b/V2rayNG/app/src/main/java/com/v2ray/ang/util/Utils.kt index c1492868c..ee0167fd8 100644 --- a/V2rayNG/app/src/main/java/com/v2ray/ang/util/Utils.kt +++ b/V2rayNG/app/src/main/java/com/v2ray/ang/util/Utils.kt @@ -498,7 +498,7 @@ object Utils { ContextCompat.RECEIVER_NOT_EXPORTED } - fun isXray(): Boolean = (ANG_PACKAGE == "com.v2ray.ang") + fun isXray(): Boolean = (ANG_PACKAGE.startsWith("com.v2ray.ang")) }