This commit is contained in:
Timothy Jaeryang Baek
2025-09-09 18:31:06 +04:00
parent 4b4583df62
commit f7e85cd0bf
4 changed files with 99 additions and 88 deletions
@@ -376,11 +376,7 @@
];
};
reader.readAsDataURL(
file['type'] === 'image/heic'
? await convertHeicToJpeg(file)
: file
);
reader.readAsDataURL(file['type'] === 'image/heic' ? await convertHeicToJpeg(file) : file);
} else {
uploadFileHandler(file);
}