Skip to content

Commit

Permalink
Merge pull request #6 from aksonov/master
Browse files Browse the repository at this point in the history
merge from master
  • Loading branch information
lrettig committed Mar 9, 2016
2 parents 9cc723d + 3d5d7f0 commit 76e670d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ExRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ export class ExRouteAdapter {
if (this.route.props.renderLeftButton){
this.renderLeftButton = this.route.props.renderLeftButton.bind(this.route);
}
if (this.route.props.renderBackButton){
this.renderBackButton = this.route.props.renderBackButton.bind(this.route);
}
}

configureScene() {
Expand Down Expand Up @@ -126,6 +129,7 @@ export class ExRouteAdapter {
ExNavigatorStyles.barButtonText,
ExNavigatorStyles.barBackButtonText,
navigator.props.barButtonTextStyle,
this.route.props.leftButtonTextStyle,
]}
>
{title}
Expand All @@ -141,6 +145,7 @@ export class ExRouteAdapter {
style={[
ExNavigatorStyles.barButtonIcon,
navigator.props.barButtonIconStyle,
this.route.props.barButtonIconStyle,
]}
/>
{buttonText}
Expand Down Expand Up @@ -387,4 +392,3 @@ var styles = StyleSheet.create({
},

});

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-router-flux",
"version": "2.3.11",
"version": "2.3.12",
"description": "React Native Router using Flux architecture",
"repository": {
"type": "git",
Expand Down

0 comments on commit 76e670d

Please sign in to comment.