Selaa lähdekoodia

fix video toolbar

marinofaggiana 3 vuotta sitten
vanhempi
commit
60bd2cf6cc
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      iOSClient/Viewer/NCViewerImage/NCViewerImageZoom.swift

+ 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