瀏覽代碼

coding

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana 3 年之前
父節點
當前提交
13b38c35db
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayerToolBar.swift

+ 1 - 1
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayerToolBar.swift

@@ -355,7 +355,7 @@ class NCPlayerToolBar: UIView {
     
     // MARK: -
 
-    public func show(enableTimerAutoHide: Bool) {
+    public func show(enableTimerAutoHide: Bool = false) {
         guard let metadata = self.metadata else { return }
         
         if metadata.classFile != NCCommunicationCommon.typeClassFile.video.rawValue && metadata.classFile != NCCommunicationCommon.typeClassFile.audio.rawValue { return }