diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-10-05 12:14:48 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-10-05 12:21:08 +0200 |
| commit | b989b7efec1d44f23765de86cdd50a1751f138cb (patch) | |
| tree | 631ae8a141d1d2303a1c4ae3e99da27625d760c6 /app/components | |
| parent | e73d32044663ae6256de5089eb227dc00b3ff9bc (diff) | |
| download | mullvadvpn-b989b7efec1d44f23765de86cdd50a1751f138cb.tar.xz mullvadvpn-b989b7efec1d44f23765de86cdd50a1751f138cb.zip | |
Remove the auto-secure setting
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Settings.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js index 7e71c8dbd2..9dddb2267d 100644 --- a/app/components/Settings.js +++ b/app/components/Settings.js @@ -3,7 +3,6 @@ import moment from 'moment'; import React, { Component } from 'react'; import { If, Then, Else } from 'react-if'; import { Layout, Container, Header } from './Layout'; -import Switch from './Switch'; import CustomScrollbars from './CustomScrollbars'; import type { AccountReduxState } from '../redux/account/reducers'; @@ -24,7 +23,6 @@ export default class Settings extends Component { props: SettingsProps; onClose = () => this.props.onClose(); - onAutoSecure = (autoSecure: boolean) => this.props.onUpdateSettings({ autoSecure }); onExternalLink(type: string) { this.props.onExternalLink(type); @@ -76,15 +74,7 @@ export default class Settings extends Component { </div> <div className="settings__cell-spacer"></div> - <div className="settings__cell"> - <div className="settings__cell-label">Auto-connect</div> - <div className="settings__cell-value"> - <Switch className="settings__autosecure" onChange={ this.onAutoSecure } isOn={ this.props.settings.autoSecure } /> - </div> - </div> - <div className="settings__cell-footer"> - When this device connects to the internet, Mullvad VPN will automatically secure your connection - </div> + <div className="settings__cell-footer"></div> </div> </Then> </If> |
