diff options
author | Roopesh Chander <roop@roopc.net> | 2019-03-18 14:02:54 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-18 14:54:05 -0600 |
commit | 0dd22ca45a9fdb359af22e4645a02cd9c581d353 (patch) | |
tree | a7fcd690dd7ca8dce00219a330cd829d09daedf4 /WireGuard | |
parent | macOS: ButtonedDetailViewController: Set min dimensions (diff) | |
download | wireguard-apple-0dd22ca45a9fdb359af22e4645a02cd9c581d353.tar.xz wireguard-apple-0dd22ca45a9fdb359af22e4645a02cd9c581d353.zip |
iOS: Tunnel edit: Add missing enum values
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 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)) |