summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2019-10-18 12:02:51 +0100
committerOdd Stranne <odd@mullvad.net>2019-11-25 13:49:41 +0100
commitd315d0788a16a1279e51c2b12fa18b03bca4c947 (patch)
tree1a81a68995509257e9647695ee3afa2b55b52b21
parentd3aa9cfe61c804767375599138bbf756bb07cb84 (diff)
downloadmullvadvpn-d315d0788a16a1279e51c2b12fa18b03bca4c947.tar.xz
mullvadvpn-d315d0788a16a1279e51c2b12fa18b03bca4c947.zip
Enable WireGuard in GUI for Windows
-rw-r--r--gui/src/renderer/components/AdvancedSettings.tsx22
1 files changed, 9 insertions, 13 deletions
diff --git a/gui/src/renderer/components/AdvancedSettings.tsx b/gui/src/renderer/components/AdvancedSettings.tsx
index 334da211a8..d55c67f152 100644
--- a/gui/src/renderer/components/AdvancedSettings.tsx
+++ b/gui/src/renderer/components/AdvancedSettings.tsx
@@ -226,18 +226,14 @@ export default class AdvancedSettings extends Component<IProps, IState> {
)}
</Cell.Footer>
- {process.platform !== 'win32' ? (
- <View style={styles.advanced_settings__content}>
- <Selector
- title={messages.pgettext('advanced-settings-view', 'Tunnel protocol')}
- values={this.tunnelProtocolItems}
- value={this.props.tunnelProtocol}
- onSelect={this.onSelectTunnelProtocol}
- />
- </View>
- ) : (
- undefined
- )}
+ <View style={styles.advanced_settings__content}>
+ <Selector
+ title={messages.pgettext('advanced-settings-view', 'Tunnel protocol')}
+ values={this.tunnelProtocolItems}
+ value={this.props.tunnelProtocol}
+ onSelect={this.onSelectTunnelProtocol}
+ />
+ </View>
{this.props.tunnelProtocol !== 'wireguard' ? (
<View style={styles.advanced_settings__content}>
@@ -277,7 +273,7 @@ export default class AdvancedSettings extends Component<IProps, IState> {
undefined
)}
- {this.props.tunnelProtocol === 'wireguard' && process.platform !== 'win32' ? (
+ {this.props.tunnelProtocol === 'wireguard' ? (
<View style={styles.advanced_settings__content}>
<Selector
// TRANSLATORS: The title for the shadowsocks bridge selector section.