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
power1220 committed Jan 7, 2016
1 parent 4ff1b83 commit 61dba20
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 61dba20

Please sign in to comment.