Manav Rathi 1 rok temu
rodzic
commit
5f146aa597
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      web/apps/photos/src/utils/file/index.ts

+ 1 - 1
web/apps/photos/src/utils/file/index.ts

@@ -333,7 +333,7 @@ export const getRenderableImage = async (fileName: string, imageBlob: Blob) => {
             }
             }
         }
         }
 
 
-        if (!isFileHEIC(exactType)) {
+        if (isFileHEIC(exactType)) {
             // If it is an HEIC file, use our web HEIC converter.
             // If it is an HEIC file, use our web HEIC converter.
             return await heicToJPEG(imageBlob);
             return await heicToJPEG(imageBlob);
         }
         }