Jelajahi Sumber

clear code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 tahun lalu
induk
melakukan
514b03543b
1 mengubah file dengan 0 tambahan dan 8 penghapusan
  1. 0 8
      iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

+ 0 - 8
iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

@@ -182,10 +182,6 @@ class NCViewerMediaPage: UIViewController {
             hideStatusBar = false
             progressView.isHidden = false
 
-            if toggleToolbar && (metadatas[currentIndex].classFile == NKCommon.TypeClassFile.video.rawValue || metadatas[currentIndex].classFile == NKCommon.TypeClassFile.audio.rawValue) {
-                currentViewController.playerToolBar?.show()
-            }
-
             NCUtility.shared.colorNavigationController(navigationController, backgroundColor: .systemBackground, titleColor: .label, tintColor: nil, withoutShadow: false)
             view.backgroundColor = .systemBackground
             textColor = .label
@@ -196,10 +192,6 @@ class NCViewerMediaPage: UIViewController {
             hideStatusBar = true
             progressView.isHidden = true
 
-            if toggleToolbar && (metadatas[currentIndex].classFile == NKCommon.TypeClassFile.video.rawValue || metadatas[currentIndex].classFile == NKCommon.TypeClassFile.audio.rawValue) {
-                currentViewController.playerToolBar?.show()
-            }
-
             view.backgroundColor = .black
             textColor = .white
         }