浏览代码

fix orientation

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父节点
当前提交
47268ed018
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Main/Create cloud/NCUploadAssets.swift

+ 1 - 1
iOSClient/Main/Create cloud/NCUploadAssets.swift

@@ -316,7 +316,7 @@ struct UploadAssetsView: View {
 
         if let imageData = uploadAssets.previewStore[index].data {
             image = UIImage(data: imageData)
-        } else if let imageFullResolution = uploadAssets.previewStore[index].asset.fullResolutionImage {
+        } else if let imageFullResolution = uploadAssets.previewStore[index].asset.fullResolutionImage?.fixedOrientation() {
             image = imageFullResolution
         }