diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-01-11 08:55:34 -0200 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-01-15 06:43:35 -0200 |
| commit | 58e080effd8511b15ce5d960f3d35583c67bcfa5 (patch) | |
| tree | 18f2134d5bc557f71efbd2203543ce5d11953e97 | |
| parent | 9c20fc0969ed362d7d88fd5aa9b6e2401e205deb (diff) | |
| download | mullvadvpn-58e080effd8511b15ce5d960f3d35583c67bcfa5.tar.xz mullvadvpn-58e080effd8511b15ce5d960f3d35583c67bcfa5.zip | |
Update auto-connect and auto-start toggles
| -rw-r--r-- | gui/packages/desktop/src/renderer/components/Preferences.js | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gui/packages/desktop/src/renderer/components/Preferences.js b/gui/packages/desktop/src/renderer/components/Preferences.js index 53ed912798..19ae96f338 100644 --- a/gui/packages/desktop/src/renderer/components/Preferences.js +++ b/gui/packages/desktop/src/renderer/components/Preferences.js @@ -64,20 +64,16 @@ export default class Preferences extends Component<PreferencesProps, State> { <View style={styles.preferences__content}> <Cell.Container> - <Cell.Label>Auto-connect</Cell.Label> - <Switch isOn={this.props.autoConnect} onChange={this.props.setAutoConnect} /> + <Cell.Label>Launch app on start-up</Cell.Label> + <Switch isOn={this.state.autoStart} onChange={this._onChangeAutoStart} /> </Cell.Container> - <Cell.Footer> - Automatically connect to the VPN at the earliest moment during computer - boot-up. - </Cell.Footer> <Cell.Container> - <Cell.Label>Auto-launch</Cell.Label> - <Switch isOn={this.state.autoStart} onChange={this._onChangeAutoStart} /> + <Cell.Label>Auto-connect</Cell.Label> + <Switch isOn={this.props.autoConnect} onChange={this.props.setAutoConnect} /> </Cell.Container> <Cell.Footer> - Automatically launch the app when logging in to the computer. + Automatically connect to a server when the app launches. </Cell.Footer> <Cell.Container> |
