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