aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-24 14:22:28 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-27 15:13:01 +0530
commit3b77f824b63fa5a0dbabb2093b7b1908e2c03086 (patch)
treefcd1542af1bb215e6a8ff0abc1ceebc56a4b6feb /WireGuard/WireGuard/UI/iOS/TunnelEditTableViewController.swift
parentTunnel creation: Generate key pair (diff)
downloadwireguard-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.swift1
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 {