Simple fix to back button behavior (#3362)

Should always provide the key to go back from
This commit is contained in:
Eric Vicenti 2018-01-26 11:02:27 -08:00 committed by Brent Vatne
parent 0157a4c9e9
commit 122f6cfcee

View File

@ -72,7 +72,7 @@ class Header extends React.PureComponent {
_navigateBack = () => {
requestAnimationFrame(() => {
this.props.navigation.goBack();
this.props.navigation.goBack(this.props.scene.route.key);
});
};