소스 검색

clear code

marinofaggiana 3 년 전
부모
커밋
7f0bde7cca
1개의 변경된 파일5개의 추가작업 그리고 7개의 파일을 삭제
  1. 5 7
      iOSClient/Viewer/NCViewerVideo/NCViewerVideoToolBar.swift

+ 5 - 7
iOSClient/Viewer/NCViewerVideo/NCViewerVideoToolBar.swift

@@ -81,12 +81,6 @@ class NCViewerVideoToolBar: UIView {
         setToolBarImage()
     }
     
-    //MARK: - Action
-    
-    @IBAction func buttonTouchInside(_ sender: UIButton) {
-        hideToolBar()
-    }
-    
     func setBarPlayer(player: AVPlayer?, metadata: tableMetadata?) {
         
         self.player = player
@@ -202,9 +196,13 @@ class NCViewerVideoToolBar: UIView {
             }
         }
     }
-
+    
     //MARK: - Action
     
+    @IBAction func buttonTouchInside(_ sender: UIButton) {
+        hideToolBar()
+    }
+    
     @IBAction func playerPause(_ sender: Any) {
         
         if player?.timeControlStatus == .playing {