Przeglądaj źródła

fix video toolbar

marinofaggiana 3 lat temu
rodzic
commit
60bd2cf6cc

+ 5 - 0
iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

@@ -152,6 +152,11 @@ class NCViewerImageZoom: UIViewController {
         
         updateZoomScale()
         centreConstraints()
+        
+        // VideoToolBar
+        if metadata.classFile == NCCommunicationCommon.typeClassFile.audio.rawValue || metadata.classFile == NCCommunicationCommon.typeClassFile.video.rawValue {
+            self.videoToolBar.isHidden = false
+        }
     }
     
     //MARK: - Gesture