From: Roopesh Chander Date: Wed, 24 Oct 2018 08:52:28 +0000 (+0530) Subject: Tunnel creation: An uneditable field's value should be grey as well X-Git-Tag: 0.0.20181104-1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b77f824b63fa5a0dbabb2093b7b1908e2c03086;p=thirdparty%2Fwireguard-apple.git Tunnel creation: An uneditable field's value should be grey as well Signed-off-by: Roopesh Chander --- diff --git a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift index d994dcb..5575c75 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift @@ -295,6 +295,7 @@ class TunnelsEditTableViewKeyValueCell: UITableViewCell { set(value) { valueTextField.isEnabled = value keyLabel.textColor = value ? UIColor.black : UIColor.gray + valueTextField.textColor = value ? UIColor.black : UIColor.gray } } var isValueValid: Bool = true {