Fixed scrolling the whole SideMenu, not only the bank accounts
This commit is contained in:
parent
3cff13949e
commit
e5119b237e
|
@ -62,7 +62,7 @@ fun SideMenu(appContent: @Composable () -> Unit) {
|
||||||
drawerBackgroundColor = Colors.DrawerContentBackground,
|
drawerBackgroundColor = Colors.DrawerContentBackground,
|
||||||
drawerContentColor = textColor, // seems to have no effect
|
drawerContentColor = textColor, // seems to have no effect
|
||||||
drawerContent = {
|
drawerContent = {
|
||||||
Column(Modifier) {
|
Column(Modifier.verticalScroll(ScrollState(0), enabled = true)) {
|
||||||
Column(Modifier.fillMaxWidth().height(HeaderHeight.dp).background(HeaderBackground).padding(16.dp)) {
|
Column(Modifier.fillMaxWidth().height(HeaderHeight.dp).background(HeaderBackground).padding(16.dp)) {
|
||||||
Spacer(Modifier.weight(1f))
|
Spacer(Modifier.weight(1f))
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ fun SideMenu(appContent: @Composable () -> Unit) {
|
||||||
|
|
||||||
Divider(color = Colors.DrawerDivider)
|
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) {
|
Column(Modifier.height(ItemHeight), verticalArrangement = Arrangement.Center) {
|
||||||
Text("Konten", color = textColor)
|
Text("Konten", color = textColor)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue