...
|
...
|
@@ -51,7 +51,7 @@ export default class NavBar extends React.Component { |
|
|
|
|
|
<Animated.View style={[styles.header, this.props.navigationBarStyle, state.navigationBarStyle, selected.navigationBarStyle]}
|
|
|
>
|
|
|
<Image source={require('../images/navbar.png')} style={[styles.image, CONFIG.sceneKey.user === sceneKey && styles.imageMy]}>
|
|
|
<Image source={CONFIG.sceneKey.user === sceneKey ? require('../images/mybg.png') : require('../images/navbar.png')} style={[styles.image, CONFIG.sceneKey.user === sceneKey && styles.imageMy]}>
|
|
|
{selected.renderTitle ? selected.renderTitle(state) : state.children.map(this._renderTitle, this)}
|
|
|
{renderBackButton() || renderLeftButton()}
|
|
|
{renderRightButton()}
|
...
|
...
|
|