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:
parent
89fb6ab753
commit
11c26a32fa
2 changed files with 3 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ fun HistoryItem(
|
|||
text = readProgress,
|
||||
maxLines = 1,
|
||||
color = LocalContentColor.current.copy(alpha = textAlpha),
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue