aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 01:31:59 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-22 01:31:59 +0100
commitc1c5f7a7c7ec9e49dc67e5c60ea31f3c99ef4fb9 (patch)
tree188af61de30f2e985d8ec5d33eab6d3f97e665fb /WireGuard
parentMove name from interface to tunnel (diff)
downloadwireguard-apple-c1c5f7a7c7ec9e49dc67e5c60ea31f3c99ef4fb9.tar.xz
wireguard-apple-c1c5f7a7c7ec9e49dc67e5c60ea31f3c99ef4fb9.zip
Do not set copyable back to true on reuse
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard')
-rw-r--r--WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift5
1 files changed, 5 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift b/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
index 57132d6..8c46d70 100644
--- a/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
+++ b/WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift
@@ -40,4 +40,9 @@ class TunnelEditEditableKeyValueCell: TunnelEditKeyValueCell {
fatalError("init(coder:) has not been implemented")
}
+ override func prepareForReuse() {
+ super.prepareForReuse()
+ copyableGesture = false
+ }
+
}