Remove draggable thingy from drawer so that scrim can be clicked properly

This commit is contained in:
Sad Ellie 2023-09-21 11:54:49 +03:00
parent 89c80f5731
commit 9f864ea108

View File

@ -85,7 +85,7 @@ fun UnittoModalNavigationDrawer(
orientation = Orientation.Horizontal,
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()
}