diff options
author | Roopesh Chander <roop@roopc.net> | 2018-10-24 14:22:28 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-10-27 15:13:01 +0530 |
commit | 3b77f824b63fa5a0dbabb2093b7b1908e2c03086 (patch) | |
tree | fcd1542af1bb215e6a8ff0abc1ceebc56a4b6feb /WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift | |
parent | Tunnel creation: Generate key pair (diff) | |
download | wireguard-apple-3b77f824b63fa5a0dbabb2093b7b1908e2c03086.tar.xz wireguard-apple-3b77f824b63fa5a0dbabb2093b7b1908e2c03086.zip |
Tunnel creation: An uneditable field's value should be grey as well
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |