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 49765e8..316b335 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 @@ -1,8 +1,10 @@ package net.codinux.banking.ui.appskeleton import androidx.compose.foundation.Image +import androidx.compose.foundation.ScrollState import androidx.compose.foundation.background import androidx.compose.foundation.layout.* +import androidx.compose.foundation.verticalScroll import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState @@ -15,6 +17,7 @@ import bankmeister.composeapp.generated.resources.AppIcon import bankmeister.composeapp.generated.resources.Res import kotlinx.coroutines.launch import net.codinux.banking.ui.composables.BanksList +import net.codinux.banking.ui.composables.NavigationMenuItem import net.codinux.banking.ui.config.Colors import net.codinux.banking.ui.config.DI import net.codinux.banking.ui.model.BankAccountFilter @@ -63,7 +66,7 @@ fun SideMenu(appContent: @Composable () -> Unit) { Divider(color = Colors.DrawerDivider) - Column(Modifier.padding(horizontal = 16.dp, vertical = 24.dp)) { + Column(Modifier.verticalScroll(ScrollState(0), enabled = true).padding(horizontal = 16.dp, vertical = 24.dp)) { Column(Modifier.height(ItemHeight), verticalArrangement = Arrangement.Center) { Text("Konten", color = Colors.DrawerPrimaryText) }