diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-10-16 14:59:28 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-10-17 14:46:17 +0200 |
| commit | adb0996b0002f56f888e9e7bca181a84d376456f (patch) | |
| tree | 5c2929286636afc58211a82e91f68295737ba282 /gui/src | |
| parent | c1aaea2ee6e44d18d8f972eeecf3a1055fd3ad6d (diff) | |
| download | mullvadvpn-adb0996b0002f56f888e9e7bca181a84d376456f.tar.xz mullvadvpn-adb0996b0002f56f888e9e7bca181a84d376456f.zip | |
Add IPv6 info dialog
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/renderer/components/VpnSettings.tsx | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/gui/src/renderer/components/VpnSettings.tsx b/gui/src/renderer/components/VpnSettings.tsx index 13a4503d71..c884db3e5e 100644 --- a/gui/src/renderer/components/VpnSettings.tsx +++ b/gui/src/renderer/components/VpnSettings.tsx @@ -496,20 +496,26 @@ function EnableIpv6() { <AriaLabel> <Cell.InputLabel>{messages.pgettext('vpn-settings-view', 'Enable IPv6')}</Cell.InputLabel> </AriaLabel> + <AriaDetails> + <InfoButton> + <ModalMessage> + {messages.pgettext( + 'vpn-settings-view', + 'When this feature is enabled, IPv6 can be used alongside IPv4 in the VPN tunnel to communicate with internet services.', + )} + </ModalMessage> + <ModalMessage> + {messages.pgettext( + 'vpn-settings-view', + 'IPv4 is always enabled and the majority of websites and applications use this protocol. We do not recommend enabling IPv6 unless you know you need it.', + )} + </ModalMessage> + </InfoButton> + </AriaDetails> <AriaInput> <Cell.Switch isOn={enableIpv6} onChange={setEnableIpv6} /> </AriaInput> </Cell.Container> - <Cell.CellFooter> - <AriaDescription> - <Cell.CellFooterText> - {messages.pgettext( - 'vpn-settings-view', - 'Enable IPv6 communication through the tunnel.', - )} - </Cell.CellFooterText> - </AriaDescription> - </Cell.CellFooter> </AriaInputGroup> ); } |
