aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-12-14 21:48:48 -0600
committerEric Kuck <eric@bluelinelabs.com>2018-12-14 21:48:48 -0600
commit5a08c67f335c905f15f6e79d346105e5a13bac80 (patch)
treea2e2b0fb2e2c4849f6dab51a69d2a1da6ebc05ef /WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
parentFix confusing indentation (diff)
downloadwireguard-apple-5a08c67f335c905f15f6e79d346105e5a13bac80.tar.xz
wireguard-apple-5a08c67f335c905f15f6e79d346105e5a13bac80.zip
Fixed editable KeyValueCells being copyable
Fixed DNS servers not saving Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift b/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
index 3e18670..3089734 100644
--- a/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
+++ b/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
@@ -29,6 +29,7 @@ class TunnelEditEditableKeyValueCell: TunnelEditKeyValueCell {
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
+ copyableGesture = false
valueTextField.textColor = .black
valueTextField.isEnabled = true
valueLabelScrollView.isScrollEnabled = false