Bug fix for isXray()

This commit is contained in:
2dust
2024-12-24 15:03:10 +08:00
parent 4f11bae238
commit fde39bf34e

View File

@@ -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"))
}