Browse Source

Update NCPlayerToolBar.swift

Marino Faggiana 1 year ago
parent
commit
02af1444b7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayerToolBar.swift

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

@@ -220,11 +220,13 @@ class NCPlayerToolBar: UIView {
     }
 
     func playButtonPause() {
+
         playButton.setImage(NCUtility.shared.loadImage(named: "pause.fill", color: .white, symbolConfiguration: UIImage.SymbolConfiguration(pointSize: 30)), for: .normal)
         MPNowPlayingInfoCenter.default().nowPlayingInfo?[MPNowPlayingInfoPropertyPlaybackRate] = 1
     }
 
     func playButtonPlay() {
+        
         playButton.setImage(NCUtility.shared.loadImage(named: "play.fill", color: .white, symbolConfiguration: UIImage.SymbolConfiguration(pointSize: 30)), for: .normal)
         MPNowPlayingInfoCenter.default().nowPlayingInfo?[MPNowPlayingInfoPropertyPlaybackRate] = 0
     }
@@ -254,7 +256,6 @@ class NCPlayerToolBar: UIView {
         }
 
         reStartTimerAutoHide()
-
     }
 
     // MARK: - Action