From c1c5f7a7c7ec9e49dc67e5c60ea31f3c99ef4fb9 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 22 Dec 2018 01:31:59 +0100 Subject: Do not set copyable back to true on reuse Signed-off-by: Jason A. Donenfeld --- WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WireGuard') 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 + } + } -- cgit v1.2.3-59-g8ed1b