Fix per-category sort/display affecting the wrong category

This commit is contained in:
arkon
2023-02-23 13:54:08 -05:00
parent 9432d2d06a
commit bd47eafeec
6 changed files with 37 additions and 42 deletions

View File

@@ -31,9 +31,16 @@ import tachiyomi.presentation.core.theme.header
@Composable
fun HeadingItem(
@StringRes labelRes: Int,
) {
HeadingItem(stringResource(labelRes))
}
@Composable
fun HeadingItem(
text: String,
) {
Text(
text = stringResource(labelRes),
text = text,
style = MaterialTheme.typography.header,
modifier = Modifier
.fillMaxWidth()