Fix
This commit is contained in:
parent
7dba4c0af4
commit
5f146aa597
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue