Skip to content

Commit 35f0567

Browse files
author
alvaromb
committed
Solved a bug where top navigator is not passed to main component and added more padding to the back button.
1 parent fcb037f commit 35f0567

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/NavBarBackButton.ios.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const styles = StyleSheet.create({
5252
container: {
5353
flexDirection: 'row',
5454
paddingTop: 2,
55+
paddingRight: 15,
5556
},
5657
icon: {
5758
paddingLeft: 8,

lib/TopNavigatorWrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TopNavigatorWrapper extends React.Component {
1414
title={this.props.title}
1515
topNavigator={navigator}
1616
navBarStyle={this.props.navBarStyle}
17-
routeMapper={this.props.routeMapper()}
17+
routeMapper={this.props.routeMapper(navigator)}
1818
/>
1919
)
2020
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-navigator-wrapper",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "A React Native Navigator component wrapper that implements nested navigators for both push and modal transitions.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)