marinofaggiana 5 年之前
父節點
當前提交
5409a6f3f0
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      iOSClient/Viewer/NCViewerImage/NCViewerImageVideo.swift

+ 3 - 2
iOSClient/Viewer/NCViewerImage/NCViewerImageVideo.swift

@@ -41,8 +41,9 @@ class NCViewerImageVideo: UIViewController {
         super.viewDidLoad()
         super.viewDidLoad()
         
         
         view.backgroundColor = .black
         view.backgroundColor = .black
-        closeView.layer.cornerRadius = 5
-        closeButton.setImage(CCGraphics.changeThemingColorImage(UIImage(named: "exit"), width: 50, height: 50, color: .white), for: .normal)
+        closeView.layer.cornerRadius = 7
+        let image = CCGraphics.changeThemingColorImage(UIImage(named: "exit"), width: 50, height: 50, color: .white)
+        closeButton.setImage(image, for: .normal)
         
         
         let frame = CGRect(x: 0, y: 0, width: self.backgroundView.frame.width, height: self.backgroundView.frame.height)
         let frame = CGRect(x: 0, y: 0, width: self.backgroundView.frame.width, height: self.backgroundView.frame.height)
         NCViewerMedia.sharedInstance.viewMedia(metadata, view: backgroundView, frame: frame)
         NCViewerMedia.sharedInstance.viewMedia(metadata, view: backgroundView, frame: frame)