diff --git a/src/commonMain/kotlin/App.kt b/src/commonMain/kotlin/App.kt index 09ad407..0f20e46 100644 --- a/src/commonMain/kotlin/App.kt +++ b/src/commonMain/kotlin/App.kt @@ -2,7 +2,7 @@ package org.thundernetwork.permissionchecker fun checkSingle(permission: String, requiredPermission: String): Boolean { var answer = false - if (permission === "*") answer = true + if (permission == "*") answer = true else { val subRP = requiredPermission.split('.') val sub = permission.split('.')