Revert "Add KPM module count display to the main page and update related string resources"
This reverts commit a45e0f78ef.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user