diff options
| author | David Lönnhager <david.l@mullvad.net> | 2020-12-01 13:57:06 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2020-12-03 11:31:35 +0100 |
| commit | a51c84e78beeb3eb7e6e2c6f89f6889b70f5a9da (patch) | |
| tree | 6c2ac92f469f59bd48ca93bcbe7656d8115c4e3c /gui/src/shared | |
| parent | 9bdef8c490d3897b6e6cd29de48169a08075aa22 (diff) | |
| download | mullvadvpn-a51c84e78beeb3eb7e6e2c6f89f6889b70f5a9da.tar.xz mullvadvpn-a51c84e78beeb3eb7e6e2c6f89f6889b70f5a9da.zip | |
Remove obsolete virtual adapter code and errors
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 7 | ||||
| -rw-r--r-- | gui/src/shared/notifications/error.ts | 5 |
2 files changed, 1 insertions, 11 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index 95d8758088..597220e6c8 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -33,12 +33,7 @@ export type TunnelParameterError = export type ErrorStateCause = | { - reason: - | 'ipv6_unavailable' - | 'set_dns_error' - | 'start_tunnel_error' - | 'is_offline' - | 'virtual_adapter_problem'; + reason: 'ipv6_unavailable' | 'set_dns_error' | 'start_tunnel_error' | 'is_offline'; } | { reason: 'set_firewall_policy_error'; details: FirewallPolicyError } | { reason: 'tunnel_parameter_error'; details: TunnelParameterError } diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts index 672dc27b94..d580bf1f1e 100644 --- a/gui/src/shared/notifications/error.ts +++ b/gui/src/shared/notifications/error.ts @@ -117,11 +117,6 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string { 'notifications', "Your device is offline. Try connecting when it's back online.", ); - case 'virtual_adapter_problem': - return messages.pgettext( - 'notifications', - 'Unable to detect a working virtual adapter on this device. Try enabling it. Otherwise, please reinstall the app.', - ); } } } |
