manager: fix Condition is always 'true'

This commit is contained in:
Rifat Azad
2025-06-27 12:02:16 +06:00
parent c9b79c3016
commit f05f776a08

View File

@@ -328,7 +328,7 @@ private fun StatusCard(
intent.addFlags(android.content.Intent.FLAG_ACTIVITY_NEW_TASK)
if (ksuVersion != null) {
context.startActivity(intent)
} else if (ksuVersion == null && kernelVersion.isGKI()) {
} else if (kernelVersion.isGKI()) {
onClickInstall()
} else {
Toast.makeText(context, "Something weird happened... 🤔", Toast.LENGTH_SHORT).show()