mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
Apply drawerlockmode from screen options to DrawerLayout component (#4202)
Fix #4201
This commit is contained in:
parent
61385cae59
commit
352dae50e1
@ -93,6 +93,7 @@ export default class DrawerView extends React.PureComponent {
|
|||||||
this._drawer = c;
|
this._drawer = c;
|
||||||
}}
|
}}
|
||||||
drawerLockMode={
|
drawerLockMode={
|
||||||
|
drawerLockMode ||
|
||||||
(this.props.screenProps && this.props.screenProps.drawerLockMode) ||
|
(this.props.screenProps && this.props.screenProps.drawerLockMode) ||
|
||||||
this.props.navigationConfig.drawerLockMode
|
this.props.navigationConfig.drawerLockMode
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user