keep navigation drawer locked in the closed state on the search screen
This commit is contained in:
parent
496ec53f8a
commit
1366dc0996
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ const discoverStack = StackNavigator({
|
|||
Search: {
|
||||
screen: SearchPage,
|
||||
navigationOptions: ({ navigation }) => ({
|
||||
drawerLockMode: 'locked-closed',
|
||||
headerTitle: <SearchInput style={searchStyle.searchInput} />,
|
||||
headerRight: <Feather name="x" size={24} style={discoverStyle.rightHeaderIcon} onPress={() => navigation.dispatch(NavigationActions.back())} />
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue