diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-03 13:37:58 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-03 13:37:58 +0000 |
| commit | 57aad97bc31129b78619ea16cf51828df8a058e3 (patch) | |
| tree | 005245feaad138ca836b5c32b71b1da620505128 /app/components | |
| parent | 94496a26d622c58d6f4e923f51754bbad42f6e23 (diff) | |
| download | mullvadvpn-57aad97bc31129b78619ea16cf51828df8a058e3.tar.xz mullvadvpn-57aad97bc31129b78619ea16cf51828df8a058e3.zip | |
Fix listing issues
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Settings.js | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js index a196c7597b..153627b646 100644 --- a/app/components/Settings.js +++ b/app/components/Settings.js @@ -54,17 +54,19 @@ export default class Settings extends Component { { /* show account options when logged in */ } <If condition={ isLoggedIn }> - <div> - <div className="settings__cell"> - <div className="settings__cell-label">Auto-secure</div> - <div className="settings__cell-value"> - <Switch onChange={ ::this.onAutoSecure } isOn={ this.props.settings.autoSecure } /> + <Then> + <div> + <div className="settings__cell"> + <div className="settings__cell-label">Auto-secure</div> + <div className="settings__cell-value"> + <Switch onChange={ ::this.onAutoSecure } isOn={ this.props.settings.autoSecure } /> + </div> + </div> + <div className="settings__cell-footer"> + When this device connects to the internet it will automatically connect to a secure server </div> </div> - <div className="settings__cell-footer"> - When this device connects to the internet it will automatically connect to a secure server - </div> - </div> + </Then> </If> <div className="settings__cell settings__cell--active" onClick={ this.onExternalLink.bind(this, 'faq') }> |
