From ee148e74721dec64391cf4322868fcbe3926284e Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 21 Jul 2017 16:40:53 -0400 Subject: [PATCH] RN-249 Fix the hamburger icon opening the drawer when it was closed by swiping to close --- app/components/channel_drawer/channel_drawer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/components/channel_drawer/channel_drawer.js b/app/components/channel_drawer/channel_drawer.js index 638088f4a..3c30808b2 100644 --- a/app/components/channel_drawer/channel_drawer.js +++ b/app/components/channel_drawer/channel_drawer.js @@ -95,6 +95,10 @@ export default class ChannelDrawer extends PureComponent { InteractionManager.clearInteractionHandle(this.closeLeftHandle); this.closeLeftHandle = null; } + + if (this.state.openDrawer) { + this.setState({openDrawer: false}); + } }; handleDrawerCloseStart = () => {