iOS: Make it compile again

This commit is contained in:
Roopesh Chander 2019-01-31 18:17:04 +05:30
parent 60f1fee6e7
commit d2abc246cf
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)