marinofaggiana 4 ani în urmă
părinte
comite
9ee114c51b
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      iOSClient/ScanDocument/ScanCollectionView.swift

+ 3 - 1
iOSClient/ScanDocument/ScanCollectionView.swift

@@ -82,7 +82,9 @@ class DragDropViewController: UIViewController {
         transferDown.setImage(UIImage(named: "transferDown")?.image(color: NCBrandColor.shared.brandElement, size: 25), for: .normal)
         
         let longPressRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(handleLongPressGesture(recognizer:)))
-        add.addGestureRecognizer(longPressRecognizer)
+        collectionViewSource.addGestureRecognizer(longPressRecognizer)
+        let longPressRecognizerPlus = UILongPressGestureRecognizer(target: self, action: #selector(handleLongPressGesture(recognizer:)))
+        add.addGestureRecognizer(longPressRecognizerPlus)
         
         // changeTheming
         NotificationCenter.default.addObserver(self, selector: #selector(changeTheming), name: NSNotification.Name(rawValue: NCBrandGlobal.shared.notificationCenterChangeTheming), object: nil)