Skip to content

Commit

Permalink
Merge pull request #5 from thewulf7/fix/react-native-android-back-fix
Browse files Browse the repository at this point in the history
Fix for Android state navigation card update
  • Loading branch information
dryganets committed Nov 15, 2018
2 parents 1c2b971 + 9e23f12 commit 7e4eb71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NavigationExperimental/NavigationCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class SceneView extends React.Component<any, SceneViewProps, any> {

shouldComponentUpdate(nextProps: SceneViewProps, nextState: any): boolean {
return (
nextProps.sceneRendererProps.scene.route !==
this.props.sceneRendererProps.scene.route
nextProps.sceneRendererProps.scene !== this.props.sceneRendererProps.scene
&& nextProps.sceneRendererProps.scene.isActive
);
}

Expand Down

0 comments on commit 7e4eb71

Please sign in to comment.