Explorar o código

Remote Command Center

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana %!s(int64=3) %!d(string=hai) anos
pai
achega
9401a66110

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

@@ -153,9 +153,7 @@ class NCPlayerToolBar: UIView {
         self.timeObserver = appDelegate.player?.addPeriodicTimeObserver(forInterval: CMTimeMakeWithSeconds(1, preferredTimescale: 1), queue: .main, using: { (CMTime) in
             
             if self.appDelegate.player?.currentItem?.status == .readyToPlay {
-                if self.isHidden == false {
-                    self.updateToolBar()
-                }
+                self.updateToolBar()
             }
         })
     }