iOS: Tunnel edit: Add missing enum values
This commit is contained in:
parent
36f7340daa
commit
42d7641b98
|
@ -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