diff --git a/package.json b/package.json index b7ab53caf..2fe59d5eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-router-flux", - "version": "3.22.21", + "version": "3.22.22", "description": "React Native Router using Flux architecture", "repository": { "type": "git", diff --git a/src/NavBar.js b/src/NavBar.js index 86cbdc138..cb54fc412 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -194,7 +194,7 @@ const styles = StyleSheet.create({ fontWeight: '500', color: '#0A0A0A', position: 'absolute', - top: 20, + top: Platform.OS === 'ios' ? 20 : 0, left: 0, right: 0, }, @@ -202,7 +202,7 @@ const styles = StyleSheet.create({ backgroundColor: '#EFEFF2', paddingTop: 0, top: 0, - height: 64, + height: Platform.OS === 'ios' ? 64 : 44, right: 0, left: 0, borderBottomWidth: 0.5,