chore(dialog): Consistent text style (#1133)

* remove filtered_scanlators (old field not used anymore)

* Improve coding

* Revert "remove filtered_scanlators (old field not used anymore)"

This reverts commit 24042c17a432ff4c5012010155476aedbed3825f.

* consistent text style

* add comment
This commit is contained in:
Cuong-Tran 2025-09-10 12:43:09 +07:00 committed by GitHub
parent 89fb6ab753
commit 11c26a32fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -169,6 +169,7 @@ fun HistoryItem(
text = readProgress,
maxLines = 1,
color = LocalContentColor.current.copy(alpha = textAlpha),
style = MaterialTheme.typography.bodySmall,
overflow = TextOverflow.Ellipsis,
)
}

View file

@ -56,11 +56,13 @@ fun ScanlatorFilterDialog(
Box {
val state = rememberLazyListState()
LazyColumn(state = state) {
// KMK -->
items(
items = sortedAvailableScanlators,
contentType = { "item" },
key = { it },
) { scanlator ->
// KMK <--
val isExcluded = mutableExcludedScanlators.contains(scanlator)
Row(
verticalAlignment = Alignment.CenterVertically,