diff options
Diffstat (limited to 'app/components/HeaderBar.js')
| -rw-r--r-- | app/components/HeaderBar.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/components/HeaderBar.js b/app/components/HeaderBar.js index ad0a3ba323..254c4e56c0 100644 --- a/app/components/HeaderBar.js +++ b/app/components/HeaderBar.js @@ -42,20 +42,20 @@ export default class HeaderBar extends Component { return ( <View style={ containerClass }> - {!this.props.hidden ? + {!this.props.hidden ? <View style={styles.headerbar__container}> <Img style={ styles.headerbar__logo } source='logo-icon'/> <Text style={styles.headerbar__title}>MULLVAD VPN</Text> - </View> + </View> : null} - - {this.props.showSettings ? + + {this.props.showSettings ? <View style={styles.headerbar__settings}> <Button onPress={ this.props.onSettings }> <Img style={ styles.headerbar__settings } source='icon-settings'/> </Button> - </View> - : null} + </View> + : null} </View> ); } |
