aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-31 18:17:04 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-31 18:17:04 +0530
commitf292a0ec7a9acd1dc05644a03a8f49abd3fadbf7 (patch)
treec2da1f9063030ec0ddf4c7e64bbd7601a95bcbfc
parentConfigure timers to fire even when tracking mouse events (diff)
downloadwireguard-apple-f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7.tar.xz
wireguard-apple-f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7.zip
iOS: Make it compile again
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift
index 02328af..f4bf157 100644
--- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift
+++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift
@@ -351,6 +351,8 @@ extension TunnelEditTableViewController {
cell.keyboardType = .numberPad
case .excludePrivateIPs, .deletePeer:
cell.keyboardType = .default
+ case .rxBytes, .txBytes, .lastHandshakeTime:
+ fatalError()
}
cell.isValueValid = !peerData.fieldsWithError.contains(field)