Browse Source

Improveds view image

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana 3 years ago
parent
commit
f597c64643
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Viewer/NCViewerMedia/NCViewerMedia.swift

+ 2 - 2
iOSClient/Viewer/NCViewerMedia/NCViewerMedia.swift

@@ -147,8 +147,6 @@ class NCViewerMedia: UIViewController {
             viewerMediaPage?.textColor = NCBrandColor.shared.label
             viewerMediaPage?.progressView.isHidden = false
         }
-        
-        downloadPreview()
     }
     
     override func viewDidAppear(_ animated: Bool) {
@@ -178,6 +176,8 @@ class NCViewerMedia: UIViewController {
             viewerMediaPage?.clearCommandCenter()
         }
         
+        self.downloadPreview()
+        
         NotificationCenter.default.addObserver(self, selector: #selector(openDetail(_:)), name: NSNotification.Name(rawValue: NCGlobal.shared.notificationCenterOpenMediaDetail), object: nil)
     }