Skip to content

Commit

Permalink
Bug fix for isXray()
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Dec 24, 2024
1 parent 4f11bae commit fde39bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion V2rayNG/app/src/main/java/com/v2ray/ang/util/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

}

0 comments on commit fde39bf

Please sign in to comment.