fix: Show patchable section header only when it's not the only section (#3173)

This commit is contained in:
Sovenance
2026-03-22 23:01:10 +01:00
committed by GitHub
parent 81bb43fea7
commit 65b9e95c60

View File

@@ -355,15 +355,17 @@ fun AppsScreen(
}
}
item(key = "HEADER_PATCHABLE") {
Text(
text = stringResource(R.string.patchable_apps_section_title),
color = MaterialTheme.colorScheme.primary,
style = MaterialTheme.typography.labelLarge,
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = TITLE_HORIZONTAL, vertical = TITLE_VERTICAL)
)
if (patched.isNotEmpty()) {
item(key = "HEADER_PATCHABLE") {
Text(
text = stringResource(R.string.patchable_apps_section_title),
color = MaterialTheme.colorScheme.primary,
style = MaterialTheme.typography.labelLarge,
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = TITLE_HORIZONTAL, vertical = TITLE_VERTICAL)
)
}
}
item(key = "PATCHABLE_STORAGE") {