diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-22 01:31:59 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-22 01:31:59 +0100 |
commit | c1c5f7a7c7ec9e49dc67e5c60ea31f3c99ef4fb9 (patch) | |
tree | 188af61de30f2e985d8ec5d33eab6d3f97e665fb /WireGuard | |
parent | Move name from interface to tunnel (diff) | |
download | wireguard-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 '')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift | 5 |
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 + } + } |