diff options
author | Roopesh Chander <roop@roopc.net> | 2019-01-31 18:17:04 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-31 18:17:04 +0530 |
commit | f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7 (patch) | |
tree | c2da1f9063030ec0ddf4c7e64bbd7601a95bcbfc /WireGuard | |
parent | Configure timers to fire even when tracking mouse events (diff) | |
download | wireguard-apple-f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7.tar.xz wireguard-apple-f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7.zip |
iOS: Make it compile again
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift | 2 |
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) |