From 6341be25a59676196d3b5b75b0f624170d8b1caa Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 5 Sep 2024 02:05:44 +0200 Subject: [PATCH] Fixed using scaffoldPadding (otherwise bottom of TransactionList gets cut off) --- .../src/commonMain/kotlin/net/codinux/banking/ui/App.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/App.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/App.kt index 4855777..e3ad89d 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/App.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/App.kt @@ -1,6 +1,5 @@ package net.codinux.banking.ui -import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.* @@ -82,8 +81,8 @@ fun App() { ) } } - ) { insets -> - Column(Modifier.fillMaxSize(), horizontalAlignment = Alignment.CenterHorizontally) { + ) { scaffoldPadding -> + Column(Modifier.fillMaxSize().padding(scaffoldPadding), horizontalAlignment = Alignment.CenterHorizontally) { TransactionsList(DI.uiState) } }