From 484a3df42e22b6b9bd968e33be8e28a5b82aacae Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 5 Sep 2024 02:06:03 +0200 Subject: [PATCH] Replaced fillMaxHeight() with fillMaxSize() --- .../net/codinux/banking/ui/composables/TransactionsList.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(