From f292a0ec7a9acd1dc05644a03a8f49abd3fadbf7 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Thu, 31 Jan 2019 18:17:04 +0530 Subject: [PATCH] iOS: Make it compile again Signed-off-by: Roopesh Chander --- .../UI/iOS/ViewController/TunnelEditTableViewController.swift | 2 ++ 1 file changed, 2 insertions(+) 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)