diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/FilterBar.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/FilterBar.kt index cc01ab8..7ee56db 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/FilterBar.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/FilterBar.kt @@ -66,7 +66,7 @@ fun FilterBar() { items = years, selectedItem = transactionsFilter.value.year, onSelectedItemChanged = { year -> transactionsFilter.value.year = year }, - getItemDisplayText = { year -> if (year == null) "" else year.toString() }, + getItemDisplayText = { year -> if (year == null) "Alle" else year.toString() }, modifier = Modifier.width(125.dp).padding(horizontal = horizontalPadding) ) @@ -76,7 +76,7 @@ fun FilterBar() { items = months, 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 }, + getItemDisplayText = { month -> if (month == null) "Alle" else month }, modifier = Modifier.width(154.dp) ) }