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
parent 966ecb53ba
commit 8650d48bbc

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);
});
};