summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/components/Preferences.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/components/Preferences.js b/app/components/Preferences.js
index dfe098999a..d0bf113243 100644
--- a/app/components/Preferences.js
+++ b/app/components/Preferences.js
@@ -36,6 +36,37 @@ export default class Preferences extends Component<PreferencesProps> {
<View style={styles.preferences__content}>
<View style={styles.preferences__cell}>
<View style={styles.preferences__cell_label_container}>
+ <Text style={styles.preferences__cell_label}>Auto-connect</Text>
+ </View>
+ <View style={styles.preferences__cell_accessory}>
+ <Switch
+ isOn={this.props.autoConnect}
+ onChange={this.props.onChangeAutoConnect}
+ />
+ </View>
+ </View>
+ <View style={styles.preferences__cell_footer}>
+ <Text style={styles.preferences__cell_footer_label}>
+ {'When your device connects to the internet, your connection will be secured.'}
+ </Text>
+ </View>
+
+ <View style={styles.preferences__cell}>
+ <View style={styles.preferences__cell_label_container}>
+ <Text style={styles.preferences__cell_label}>Auto-start</Text>
+ </View>
+ <View style={styles.preferences__cell_accessory}>
+ <Switch isOn={this.props.autoStart} onChange={this.props.onChangeAutoStart} />
+ </View>
+ </View>
+ <View style={styles.preferences__cell_footer}>
+ <Text style={styles.preferences__cell_footer_label}>
+ {'When your device starts up, Mullvad VPN is automatically opened.'}
+ </Text>
+ </View>
+
+ <View style={styles.preferences__cell}>
+ <View style={styles.preferences__cell_label_container}>
<Text style={styles.preferences__cell_label}>Local network sharing</Text>
</View>
<View style={styles.preferences__cell_accessory}>