fix header back (#3900)

This commit is contained in:
Eric Vicenti
2018-04-05 11:29:15 -07:00
parent e2a239bf80
commit ef0ab25cf4

View File

@@ -150,7 +150,7 @@ class Header extends React.PureComponent {
const goBack = () => {
// Go back on next tick because button ripple effect needs to happen on Android
requestAnimationFrame(() => {
this.props.navigation.goBack(props.scene.descriptor.key);
props.scene.descriptor.navigation.goBack(props.scene.descriptor.key);
});
};
return (