aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/TunnelViewModel.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-03-16 16:25:17 +0530
committerRoopesh Chander <roop@roopc.net>2019-03-17 02:27:46 +0530
commit50bc994762f96a53c69273ee9c3c3e2a0658be7f (patch)
tree5f7612d72634f51c95a1c8a19b07c982fa131edd /WireGuard/WireGuard/UI/TunnelViewModel.swift
parentmacOS: KeyValueImageRow class (diff)
downloadwireguard-apple-50bc994762f96a53c69273ee9c3c3e2a0658be7f.tar.xz
wireguard-apple-50bc994762f96a53c69273ee9c3c3e2a0658be7f.zip
macOS: Tunnel detail: Show the status in the list view
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/TunnelViewModel.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift
index f57eed0..20620fc 100644
--- a/WireGuard/WireGuard/UI/TunnelViewModel.swift
+++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift
@@ -14,6 +14,7 @@ class TunnelViewModel {
case listenPort
case mtu
case dns
+ case status
var localizedUIString: String {
switch self {
@@ -25,6 +26,7 @@ class TunnelViewModel {
case .listenPort: return tr("tunnelInterfaceListenPort")
case .mtu: return tr("tunnelInterfaceMTU")
case .dns: return tr("tunnelInterfaceDNS")
+ case .status: return tr("tunnelInterfaceStatus")
}
}
}