Explorar o código

fix Live Photo

marinofaggiana %!s(int64=4) %!d(string=hai) anos
pai
achega
92639b2ec4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iOSClient/Viewer/NCViewerImage/NCViewerImage.swift

+ 1 - 1
iOSClient/Viewer/NCViewerImage/NCViewerImage.swift

@@ -367,7 +367,7 @@ class NCViewerImage: UIViewController, UIGestureRecognizerDelegate {
                             
                             NCManageDatabase.sharedInstance.addLocalFile(metadata: metadata)
                             
-                            if gestureRecognizer.state == .began {
+                            if gestureRecognizer.state == .changed || gestureRecognizer.state == .began {
                                 AudioServicesPlaySystemSound(1519) // peek feedback
                                 self.videoPlayWith(metadata: metadata)
                             }