RN-249 Fix the hamburger icon opening the drawer when it was closed by swiping to close

This commit is contained in:
Elias Nahum 2017-07-21 16:40:53 -04:00 committed by Harrison Healey
parent 3f18238597
commit ee148e7472

View file

@ -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 = () => {