Эх сурвалжийг харах

don't open preview on after context menu closed

cyberta 4 жил өмнө
parent
commit
00773565f7

+ 0 - 7
deltachat-ios/Controller/GalleryViewController.swift

@@ -254,13 +254,6 @@ extension GalleryViewController: UICollectionViewDataSource, UICollectionViewDel
             }
         )
     }
-
-    @available(iOS 13, *)
-    func collectionView(_ collectionView: UICollectionView, willEndContextMenuInteraction configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionAnimating?) {
-        if let msgId = (animator?.previewViewController as? ContextMenuController)?.msg.id {
-            self.showPreview(msgId: msgId)
-        }
-    }
 }
 
 // MARK: - grid layout + updates