Tunnel creation: Public key is uneditable
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
3b77f824b6
commit
5b1876b998
|
@ -163,6 +163,10 @@ extension TunnelEditTableViewController {
|
|||
} else if (field == .mtu) {
|
||||
cell.placeholderText = "Automatic"
|
||||
}
|
||||
// Set editable
|
||||
if (field == .publicKey) {
|
||||
cell.isValueEditable = false
|
||||
}
|
||||
// Bind values to view model
|
||||
cell.value = interfaceData[field]
|
||||
cell.onValueChanged = { [weak interfaceData] value in
|
||||
|
|
Loading…
Reference in New Issue