iOS: Make it compile again

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2019-01-31 18:17:04 +05:30
parent 3b29578524
commit f292a0ec7a
1 changed files with 2 additions and 0 deletions

View File

@ -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)