Skip to content

Commit

Permalink
Merge pull request #3552 from parasharrajat/navigation
Browse files Browse the repository at this point in the history
Replace invalid prop for drawer
  • Loading branch information
MariaHCD authored Jun 15, 2021
2 parents a722ceb + d50520e commit 384aa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Navigation/AppNavigator/MainDrawerNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const MainDrawerNavigator = (props) => {
// This is usually needed after login/create account and re-launches
return (
<Drawer.Navigator
openByDefault={props.isSmallScreenWidth}
defaultStatus={props.isSmallScreenWidth ? 'open' : 'closed'}
sceneContainerStyle={styles.navigationSceneContainer}
drawerContent={() => <SidebarScreen />}
screenOptions={{
Expand Down

0 comments on commit 384aa5e

Please sign in to comment.