marinofaggiana 3 years ago
parent
commit
298e3325a0
1 changed files with 1 additions and 3 deletions
  1. 1 3
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

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

@@ -90,9 +90,7 @@ class NCPlayer: NSObject {
                         }
                         self.durationSeconds = CMTimeGetSeconds(duration)
                         self.saveDurationSeconds(self.durationSeconds)
-                        //DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
-                            playerToolBar?.setBarPlayer(ncplayer: self)
-                        //}
+                        self.playerToolBar?.setBarPlayer(ncplayer: self)
                         self.generatorImagePreview()
                     }
                     break