Enable gestures on nav drawer when open
Some checks failed
Build & Test / Validate (pull_request) Successful in 20s
Build & Test / Run Unit Tests (pull_request) Failing after 8m36s
Build & Test / Run UI Tests (pull_request) Successful in 12m23s

This commit is contained in:
William Brawner 2024-08-21 22:12:25 -06:00
parent 7f2daacad1
commit 2901ef8523
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -30,7 +30,7 @@ fun MarkdownNavigationDrawer(
val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed) val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed)
val coroutineScope = rememberCoroutineScope() val coroutineScope = rememberCoroutineScope()
DismissibleNavigationDrawer( DismissibleNavigationDrawer(
gesturesEnabled = false, gesturesEnabled = drawerState.isOpen,
drawerState = drawerState, drawerState = drawerState,
drawerContent = { drawerContent = {
DismissibleDrawerSheet { DismissibleDrawerSheet {