diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2019-10-18 12:02:51 +0100 |
|---|---|---|
| committer | Odd Stranne <odd@mullvad.net> | 2019-11-25 13:49:41 +0100 |
| commit | d315d0788a16a1279e51c2b12fa18b03bca4c947 (patch) | |
| tree | 1a81a68995509257e9647695ee3afa2b55b52b21 | |
| parent | d3aa9cfe61c804767375599138bbf756bb07cb84 (diff) | |
| download | mullvadvpn-d315d0788a16a1279e51c2b12fa18b03bca4c947.tar.xz mullvadvpn-d315d0788a16a1279e51c2b12fa18b03bca4c947.zip | |
Enable WireGuard in GUI for Windows
| -rw-r--r-- | gui/src/renderer/components/AdvancedSettings.tsx | 22 |
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. |
