Skip to content

Commit

Permalink
Solved a bug where top navigator is not passed to main component and …
Browse files Browse the repository at this point in the history
…added more padding to the back button.
  • Loading branch information
alvaromb committed Nov 11, 2015
1 parent fcb037f commit 35f0567
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/NavBarBackButton.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const styles = StyleSheet.create({
container: {
flexDirection: 'row',
paddingTop: 2,
paddingRight: 15,
},
icon: {
paddingLeft: 8,
Expand Down
2 changes: 1 addition & 1 deletion lib/TopNavigatorWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TopNavigatorWrapper extends React.Component {
title={this.props.title}
topNavigator={navigator}
navBarStyle={this.props.navBarStyle}
routeMapper={this.props.routeMapper()}
routeMapper={this.props.routeMapper(navigator)}
/>
)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-navigator-wrapper",
"version": "0.0.2",
"version": "0.0.3",
"description": "A React Native Navigator component wrapper that implements nested navigators for both push and modal transitions.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 35f0567

Please sign in to comment.