From 9e1b1103c2c0569d2c4e6ba8f5434ca0aa3915ab Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 10 Sep 2024 00:13:53 +0200 Subject: [PATCH] Fixed using full height (otherwise a lot of white background gets displayed when no bank account added --- .../net/codinux/banking/ui/appskeleton/SideMenuContent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt index ab20605..b3f7abe 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenuContent.kt @@ -58,7 +58,7 @@ fun SideMenuContent() { val coroutineScope = rememberCoroutineScope() - Column(Modifier.background(Colors.DrawerContentBackground).verticalScroll(ScrollState(0), enabled = true)) { + Column(Modifier.fillMaxSize().background(Colors.DrawerContentBackground).verticalScroll(ScrollState(0), enabled = true)) { Column(Modifier.fillMaxWidth().height(HeaderHeight.dp).background(HeaderBackground).padding(16.dp)) { Spacer(Modifier.weight(1f))