diff options
| author | anderklander <anderklander@gmail.com> | 2017-11-21 09:29:10 +0100 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-12-14 09:16:50 +0100 |
| commit | a5edfe5e3e8a0bbbe2a1c62ae31ebd8a102a305c (patch) | |
| tree | d595ad00324a36dd3bb5fd448764d4608d2e2f2e /app/components/HeaderBar.js | |
| parent | 7f2938805fc0d10599381dfa9775ec3831af0a1e (diff) | |
| download | mullvadvpn-a5edfe5e3e8a0bbbe2a1c62ae31ebd8a102a305c.tar.xz mullvadvpn-a5edfe5e3e8a0bbbe2a1c62ae31ebd8a102a305c.zip | |
whitespace
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> ); } |
