mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
navigation back fix in example (#3218)
This commit is contained in:
parent
6c1ab47719
commit
77b5402404
@ -69,8 +69,9 @@ const ProfileNavigator = StackNavigator(
|
||||
},
|
||||
{
|
||||
navigationOptions: {
|
||||
header: null,
|
||||
headerLeft: null,
|
||||
},
|
||||
mode: 'modal',
|
||||
}
|
||||
);
|
||||
|
||||
@ -88,15 +89,15 @@ MyHeaderTestScreen.navigationOptions = ({ navigation }) => {
|
||||
|
||||
const ModalStack = StackNavigator(
|
||||
{
|
||||
Home: {
|
||||
screen: MyHomeScreen,
|
||||
},
|
||||
ProfileNavigator: {
|
||||
screen: ProfileNavigator,
|
||||
},
|
||||
HeaderTest: { screen: MyHeaderTestScreen },
|
||||
},
|
||||
{
|
||||
navigationOptions: {
|
||||
header: null,
|
||||
},
|
||||
mode: 'modal',
|
||||
}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user