Tunnel creation: An uneditable field's value should be grey as well
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -295,6 +295,7 @@ class TunnelsEditTableViewKeyValueCell: UITableViewCell {
|
|||||||
set(value) {
|
set(value) {
|
||||||
valueTextField.isEnabled = value
|
valueTextField.isEnabled = value
|
||||||
keyLabel.textColor = value ? UIColor.black : UIColor.gray
|
keyLabel.textColor = value ? UIColor.black : UIColor.gray
|
||||||
|
valueTextField.textColor = value ? UIColor.black : UIColor.gray
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var isValueValid: Bool = true {
|
var isValueValid: Bool = true {
|
||||||
|
|||||||
Reference in New Issue
Block a user