aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Tunnel
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-14 00:01:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-14 00:01:50 +0100
commit73be704b01bf0d17688b1324623a006c16288c04 (patch)
tree04772b2d8f30b8623ab92992cbaf843d5b4c791d /WireGuard/WireGuard/Tunnel
parentSimplify filemanager extension (diff)
downloadwireguard-apple-73be704b01bf0d17688b1324623a006c16288c04.tar.xz
wireguard-apple-73be704b01bf0d17688b1324623a006c16288c04.zip
Deduplicate functions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/Tunnel')
-rw-r--r--WireGuard/WireGuard/Tunnel/TunnelsManager.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
index 64e65ae..4abc3c0 100644
--- a/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
+++ b/WireGuard/WireGuard/Tunnel/TunnelsManager.swift
@@ -45,7 +45,7 @@ enum TunnelsManagerActivationError: WireGuardAppError {
var alertText: AlertText {
switch self {
case .activationFailed:
- return ("Activation failure", "The tunnel could not be activated. Please ensure you are connected to the Internet.")
+ return ("Activation failure", "The tunnel could not be activated. Please ensure that you are connected to the Internet.")
case .activationFailedWithExtensionError(let title, let message):
return (title, message)
}