소스 검색

screen normal

Marino Faggiana 1 년 전
부모
커밋
b788f93a9b
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift
  2. 1 0
      iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

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

@@ -204,6 +204,7 @@ extension NCPlayer: VLCMediaPlayerDelegate {
                     self.player.play()
                     self.player.pause()
                     self.player.position = 0
+                    self.viewerMediaPage?.changeScreenMode(mode: .normal)
                 }
             }
             print("Played mode: ENDED")

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

@@ -400,6 +400,7 @@ class NCViewerMediaPage: UIViewController {
     @objc func applicationDidBecomeActive(_ notification: NSNotification) {
 
         progressView.progress = 0
+        changeScreenMode(mode: .normal)
     }
 
     // MARK: - Command Center