diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt index 584a779..7f09003 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt @@ -48,7 +48,7 @@ fun TransactionsList(uiState: UiState) { } - Column(Modifier.fillMaxHeight().padding(horizontal = 8.dp)) { + Column(Modifier.fillMaxSize().padding(horizontal = 8.dp)) { Row(Modifier.fillMaxWidth().height(32.dp).background(Colors.Zinc200), verticalAlignment = Alignment.CenterVertically) { Text("${transactionsToDisplay.size} Umsätze") Spacer(Modifier.weight(1f)) @@ -57,7 +57,7 @@ fun TransactionsList(uiState: UiState) { Text(formatUtil.formatAmount(balance, "EUR"), color = formatUtil.getColorForAmount(balance)) } - LazyColumn(Modifier.fillMaxHeight()) { + LazyColumn(Modifier.fillMaxSize()) { items(groupedByMonth.keys.sortedDescending()) { month -> Column(Modifier.fillMaxWidth()) { Text(