diff options
-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 9b9390c..7d360d1 100644 --- a/WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/ViewController/TunnelEditTableViewController.swift @@ -251,6 +251,8 @@ extension TunnelEditTableViewController { cell.keyboardType = .numberPad case .publicKey, .generateKeyPair: cell.keyboardType = .default + case .status, .toggleStatus: + fatalError("Unexpected interface field") } cell.isValueValid = (!tunnelViewModel.interfaceData.fieldsWithError.contains(field)) |