diff --git a/app/src/main/java/com/wbrawner/simplemarkdown/ui/MarkdownNavigationDrawer.kt b/app/src/main/java/com/wbrawner/simplemarkdown/ui/MarkdownNavigationDrawer.kt index 0551b0c..34765d5 100644 --- a/app/src/main/java/com/wbrawner/simplemarkdown/ui/MarkdownNavigationDrawer.kt +++ b/app/src/main/java/com/wbrawner/simplemarkdown/ui/MarkdownNavigationDrawer.kt @@ -30,7 +30,7 @@ fun MarkdownNavigationDrawer( val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed) val coroutineScope = rememberCoroutineScope() DismissibleNavigationDrawer( - gesturesEnabled = false, + gesturesEnabled = drawerState.isOpen, drawerState = drawerState, drawerContent = { DismissibleDrawerSheet {