diff --git a/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt b/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt index 0fa3b34a8d4e..71ddc63d3e57 100644 --- a/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt +++ b/manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt @@ -283,31 +283,16 @@ private fun StatusCard( } } - kernelVersion.isGKI() -> { - Icon(Icons.Outlined.Warning, stringResource(R.string.home_not_installed)) - Column(Modifier.padding(start = 20.dp)) { - Text( - text = stringResource(R.string.home_not_installed), - style = MaterialTheme.typography.titleMedium - ) - Spacer(Modifier.height(4.dp)) - Text( - text = stringResource(R.string.home_click_to_install), - style = MaterialTheme.typography.bodyMedium - ) - } - } - else -> { - Icon(Icons.Outlined.Block, stringResource(R.string.home_unsupported)) + Icon(Icons.Outlined.Block, stringResource(R.string.home_failure)) Column(Modifier.padding(start = 20.dp)) { Text( - text = stringResource(R.string.home_unsupported), + text = stringResource(R.string.home_failure), style = MaterialTheme.typography.titleMedium ) Spacer(Modifier.height(4.dp)) Text( - text = stringResource(R.string.home_unsupported_reason), + text = stringResource(R.string.home_failure_reason), style = MaterialTheme.typography.bodyMedium ) } diff --git a/manager/app/src/main/res/values/strings.xml b/manager/app/src/main/res/values/strings.xml index 85ce47da2d8a..ac9b19e4f5ea 100644 --- a/manager/app/src/main/res/values/strings.xml +++ b/manager/app/src/main/res/values/strings.xml @@ -10,6 +10,8 @@ Modules: %d Unsupported KernelSU only supports GKI kernels now + !kenrelsu || != size/hash + Failure! ask your kernel dev about it. Kernel Manager version Fingerprint