From 2901ef85237d1baa640b91cf0d240f22f47eacd1 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Wed, 21 Aug 2024 22:12:25 -0600 Subject: [PATCH] Enable gestures on nav drawer when open --- .../com/wbrawner/simplemarkdown/ui/MarkdownNavigationDrawer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {