marinofaggiana 3 年之前
父节点
当前提交
3e5242811f
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      iOSClient/Viewer/NCViewerMedia/NCViewerMediaZoom.swift

+ 1 - 3
iOSClient/Viewer/NCViewerMedia/NCViewerMediaZoom.swift

@@ -320,9 +320,7 @@ extension NCViewerMediaZoom {
         
         scrollView.pinchGestureRecognizer?.isEnabled = true
         if metadata.classFile == NCCommunicationCommon.typeClassFile.video.rawValue && !metadata.livePhoto && appDelegate.player?.timeControlStatus == .paused {
-            if !detailView.isShow() {
-                NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterShowPlayerToolBar, userInfo: ["ocId":metadata.ocId, "enableTimerAutoHide": false])
-            }
+            NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterShowPlayerToolBar, userInfo: ["ocId":metadata.ocId, "enableTimerAutoHide": false])
         }
     }