From fe5da322d392117e7d51a382ae8584c2d7f45936 Mon Sep 17 00:00:00 2001 From: Philip Shurpik Date: Fri, 22 Apr 2016 14:38:09 +0300 Subject: [PATCH 1/2] hideNavBar hide scene only for current scene --- src/NavBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NavBar.js b/src/NavBar.js index ff458c572..b9fc95884 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -54,7 +54,7 @@ export default class NavBar extends React.Component { if (selected.component && selected.component.renderNavigationBar){ return selected.component.renderNavigationBar({...this.props,...selected}); } - if (state.hideNavBar || child.hideNavBar || selected.hideNavBar){ + if (child.hideNavBar || selected.hideNavBar) { return null; } From 33dd7608afcccf3b466b44c088c4af9a63200758 Mon Sep 17 00:00:00 2001 From: Philip Shurpik Date: Fri, 22 Apr 2016 14:39:42 +0300 Subject: [PATCH 2/2] bump package.json version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7470385cd..42c15b0e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-router-flux", - "version": "3.24.0", + "version": "3.24.1", "description": "React Native Router using Flux architecture", "repository": { "type": "git",