]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
Do not set copyable back to true on reuse
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 22 Dec 2018 00:31:59 +0000 (01:31 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 22 Dec 2018 00:31:59 +0000 (01:31 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/WireGuard/UI/iOS/View/TunnelEditKeyValueCell.swift

index 57132d60e9be8d0a41afc3b547adbef81b99e083..8c46d70d4e6b5a78a0f4614cc9156b4c88feee73 100644 (file)
@@ -40,4 +40,9 @@ class TunnelEditEditableKeyValueCell: TunnelEditKeyValueCell {
         fatalError("init(coder:) has not been implemented")
     }
 
+    override func prepareForReuse() {
+        super.prepareForReuse()
+        copyableGesture = false
+    }
+
 }