mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
Remove draggable thingy from drawer so that scrim can be clicked properly
This commit is contained in:
parent
89c80f5731
commit
9f864ea108
@ -85,7 +85,7 @@ fun UnittoModalNavigationDrawer(
|
|||||||
orientation = Orientation.Horizontal,
|
orientation = Orientation.Horizontal,
|
||||||
enabled = gesturesEnabled or state.isOpen,
|
enabled = gesturesEnabled or state.isOpen,
|
||||||
)
|
)
|
||||||
.padding(end = 18.dp) // Draggable when closed
|
.padding(end = if (state.isOpen) 0.dp else 18.dp) // Draggable when closed
|
||||||
) {
|
) {
|
||||||
drawer()
|
drawer()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user