From 08b55a67cfcf428ab843367e4cf001a79d5f01bb Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 5 Sep 2024 02:09:08 +0200 Subject: [PATCH] Fixed that FAB covered last expenses line of TransactionsList --- .../net/codinux/banking/ui/composables/TransactionsList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7f09003..96d9f66 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 @@ -57,7 +57,7 @@ fun TransactionsList(uiState: UiState) { Text(formatUtil.formatAmount(balance, "EUR"), color = formatUtil.getColorForAmount(balance)) } - LazyColumn(Modifier.fillMaxSize()) { + LazyColumn(Modifier.fillMaxSize().padding(bottom = 12.dp)) { // padding bottom = add the space the FAB sticks into the content area (= 26 - the 16 we add at the bottom of the expenses line) items(groupedByMonth.keys.sortedDescending()) { month -> Column(Modifier.fillMaxWidth()) { Text(