فهرست منبع

improved image viewer

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana 3 سال پیش
والد
کامیت
e058544557
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      iOSClient/Viewer/NCViewerMedia/NCViewerMediaPage.swift

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

@@ -316,9 +316,12 @@ class NCViewerMediaPage: UIViewController {
             
             NCCommunication.shared.downloadPreview(fileNamePathOrFileId: fileNamePath, fileNamePreviewLocalPath: fileNamePreviewLocalPath , widthPreview: NCGlobal.shared.sizePreview, heightPreview: NCGlobal.shared.sizePreview, fileNameIconLocalPath: fileNameIconLocalPath, sizeIcon: NCGlobal.shared.sizeIcon, etag: etagResource, queue: NCCommunicationCommon.shared.backgroundQueue) { (account, imagePreview, imageIcon, imageOriginal, etag, errorCode, errorDescription) in
                                 
+                // Download file max resolution
                 downloadFile(metadata: metadata)
             }
         } else {
+            
+            // Download file max resolution
             downloadFile(metadata: metadata)
         }