Skip to content

Commit

Permalink
force recalculations of drawer on orientation change
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed Nov 17, 2021
1 parent 96ba12d commit f3ee20c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/Navigation/AppNavigator/BaseDrawerNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const Drawer = createDrawerNavigator();
const BaseDrawerNavigator = (props) => {
const content = (
<Drawer.Navigator
key={`BaseDrawerNavigator${props.isSmallScreenWidth}`}
defaultStatus={Navigation.getDefaultDrawerState(props.isSmallScreenWidth)}
sceneContainerStyle={styles.navigationSceneContainer}
drawerContent={props.drawerContent}
Expand Down

0 comments on commit f3ee20c

Please sign in to comment.