diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-01-03 12:35:21 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-01-03 12:40:15 +0100 |
| commit | 9c1589392d08c31bd4cc95f1e727c705bfb6900a (patch) | |
| tree | 42f2ddc38820c72517d1598835da718b583d07d9 /app/components | |
| parent | c78de1b3c9695ff0d472e71f4f6c602468375636 (diff) | |
| download | mullvadvpn-9c1589392d08c31bd4cc95f1e727c705bfb6900a.tar.xz mullvadvpn-9c1589392d08c31bd4cc95f1e727c705bfb6900a.zip | |
Extract separator view outside of the button
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Settings.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js index b9044e49a8..b0b758b58c 100644 --- a/app/components/Settings.js +++ b/app/components/Settings.js @@ -91,10 +91,13 @@ export default class Settings extends Component { <Text style={styles.settings__cell_label}>Advanced</Text> <Img style={styles.settings__cell_disclosure} source='icon-chevron' tintColor='currentColor'/> </View> - <View style={styles.settings__cell_spacer}></View> </Button> ) : null} + {isLoggedIn ? ( + <View style={styles.settings__cell_spacer}></View> + ) : null} + <Button onPress={ this.props.onExternalLink.bind(this, 'faq') } testName='settings__external_link'> <View style={styles.settings__cell}> <Text style={styles.settings__cell_label}>FAQs</Text> |
