iOS: Tunnel edit: Add missing enum values
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
bca9fead5e
commit
0dd22ca45a
|
@ -251,6 +251,8 @@ extension TunnelEditTableViewController {
|
||||||
cell.keyboardType = .numberPad
|
cell.keyboardType = .numberPad
|
||||||
case .publicKey, .generateKeyPair:
|
case .publicKey, .generateKeyPair:
|
||||||
cell.keyboardType = .default
|
cell.keyboardType = .default
|
||||||
|
case .status, .toggleStatus:
|
||||||
|
fatalError("Unexpected interface field")
|
||||||
}
|
}
|
||||||
|
|
||||||
cell.isValueValid = (!tunnelViewModel.interfaceData.fieldsWithError.contains(field))
|
cell.isValueValid = (!tunnelViewModel.interfaceData.fieldsWithError.contains(field))
|
||||||
|
|
Loading…
Reference in New Issue