Fixed fully showing 'Nicht gruppieren'
This commit is contained in:
parent
0ae96675c1
commit
61ce30c634
|
@ -21,8 +21,6 @@ private val uiSettings = DI.uiSettings
|
|||
|
||||
private val labelsWidth = 60.dp
|
||||
|
||||
private val selectBoxesWidth = 154.dp
|
||||
|
||||
private val horizontalPadding = 6.dp
|
||||
|
||||
@Composable
|
||||
|
@ -56,7 +54,7 @@ fun FilterBar() {
|
|||
selectedItem = transactionsGrouping,
|
||||
onSelectedItemChanged = { grouping -> uiSettings.transactionsGrouping.value = grouping },
|
||||
getItemDisplayText = { grouping -> Internationalization.translate(grouping) },
|
||||
modifier = Modifier.width(selectBoxesWidth).padding(horizontal = horizontalPadding)
|
||||
modifier = Modifier.width(190.dp).padding(horizontal = horizontalPadding)
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -79,7 +77,7 @@ fun FilterBar() {
|
|||
selectedItem = transactionsFilter.value.month?.let { months[it - 1] },
|
||||
onSelectedItemChanged = { month -> transactionsFilter.value.month = (if (month == null) null else months.indexOf(month) + 1) },
|
||||
getItemDisplayText = { month -> if (month == null) "" else month },
|
||||
modifier = Modifier.width(selectBoxesWidth)
|
||||
modifier = Modifier.width(154.dp)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue