mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
Simple fix to back button behavior (#3362)
Should always provide the key to go back from
This commit is contained in:
parent
0157a4c9e9
commit
122f6cfcee
@ -72,7 +72,7 @@ class Header extends React.PureComponent {
|
||||
|
||||
_navigateBack = () => {
|
||||
requestAnimationFrame(() => {
|
||||
this.props.navigation.goBack();
|
||||
this.props.navigation.goBack(this.props.scene.route.key);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user