Skip to content

Commit

Permalink
Add navigationStyles to ExNavigationBar. Fixes aksonov/react-native-r…
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCoder5 committed Jan 7, 2016
1 parent d03a449 commit d15d5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default class ExRouter extends React.Component {
<ExNavigator ref="nav" initialRouteStack={router.stack.map(route => new ExRouteAdapter(router.routes[route]))}
style={styles.transparent}
sceneStyle={{ paddingTop: 0 }}
renderNavigationBar={props=><ExNavigationBar {...props} router={router}/>}
renderNavigationBar={props=><ExNavigationBar {...props} router={router} navigationStyles={Navigator.NavigationBar.StylesIOS}/>}
{...this.props}
/>
{footer}
Expand Down

0 comments on commit d15d5f5

Please sign in to comment.