Skip to content

Commit

Permalink
Merge pull request #6356 from parasharrajat/orientation
Browse files Browse the repository at this point in the history
force recalculation of drawer on orientation change
  • Loading branch information
Julesssss authored Nov 18, 2021
2 parents 9420057 + f3ee20c commit a520c44
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 a520c44

Please sign in to comment.