Revert "Add KPM module count display to the main page and update related string resources"

This reverts commit a45e0f78ef.
This commit is contained in:
ShirkNeko
2025-04-01 17:27:51 +08:00
parent a45e0f78ef
commit a971fee132
3 changed files with 1 additions and 8 deletions

View File

@@ -333,12 +333,6 @@ private fun StatusCard(
text = stringResource(R.string.home_module_count, getModuleCount()),
style = MaterialTheme.typography.bodyMedium
)
Spacer(modifier = Modifier.height(4.dp))
Text(
text = stringResource(R.string.home_kpm_module_count, getKpmModuleCount()),
style = MaterialTheme.typography.bodyMedium
)
Spacer(modifier = Modifier.height(4.dp))
val suSFS = getSuSFS()
@@ -562,6 +556,7 @@ private fun InfoCard() {
if (!isSimpleMode){
Spacer(Modifier.height(16.dp))
val kpmVersion = getKpmVersion()
val displayVersion = if (kpmVersion.isEmpty() || kpmVersion.startsWith("Error")) {
stringResource(R.string.not_supported)