marinofaggiana 3 лет назад
Родитель
Сommit
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])
         }
     }