diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenu.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenu.kt index b09c100..3d64008 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenu.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/appskeleton/SideMenu.kt @@ -62,7 +62,7 @@ fun SideMenu(appContent: @Composable () -> Unit) { drawerBackgroundColor = Colors.DrawerContentBackground, drawerContentColor = textColor, // seems to have no effect drawerContent = { - Column(Modifier) { + Column(Modifier.verticalScroll(ScrollState(0), enabled = true)) { Column(Modifier.fillMaxWidth().height(HeaderHeight.dp).background(HeaderBackground).padding(16.dp)) { Spacer(Modifier.weight(1f)) @@ -75,7 +75,7 @@ fun SideMenu(appContent: @Composable () -> Unit) { Divider(color = Colors.DrawerDivider) - Column(Modifier.verticalScroll(ScrollState(0), enabled = true).padding(horizontal = 16.dp, vertical = 24.dp)) { + Column(Modifier.padding(horizontal = 16.dp, vertical = 24.dp)) { Column(Modifier.height(ItemHeight), verticalArrangement = Arrangement.Center) { Text("Konten", color = textColor) }