From: Roopesh Chander Date: Thu, 31 Jan 2019 12:47:04 +0000 (+0530) Subject: iOS: Make it compile again X-Git-Tag: 0.0.20190207-1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7;p=thirdparty%2Fwireguard-apple.git iOS: Make it compile again Signed-off-by: Roopesh Chander --- 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)