File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
app/src/main/java/app/revanced/manager/ui/screen Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -355,15 +355,17 @@ fun AppsScreen(
355355 }
356356 }
357357
358- item(key = " HEADER_PATCHABLE" ) {
359- Text (
360- text = stringResource(R .string.patchable_apps_section_title),
361- color = MaterialTheme .colorScheme.primary,
362- style = MaterialTheme .typography.labelLarge,
363- modifier = Modifier
364- .fillMaxWidth()
365- .padding(horizontal = TITLE_HORIZONTAL , vertical = TITLE_VERTICAL )
366- )
358+ if (patched.isNotEmpty()) {
359+ item(key = " HEADER_PATCHABLE" ) {
360+ Text (
361+ text = stringResource(R .string.patchable_apps_section_title),
362+ color = MaterialTheme .colorScheme.primary,
363+ style = MaterialTheme .typography.labelLarge,
364+ modifier = Modifier
365+ .fillMaxWidth()
366+ .padding(horizontal = TITLE_HORIZONTAL , vertical = TITLE_VERTICAL )
367+ )
368+ }
367369 }
368370
369371 item(key = " PATCHABLE_STORAGE" ) {
You can’t perform that action at this time.
0 commit comments