π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Short circuit unused code
Manav Rathi7ef59bb4ccc9
diff --git a/web/apps/cast/src/utils/file/index.ts b/web/apps/cast/src/utils/file/index.tsindex fb7e4ac673..d1f11d75dc 100644--- a/web/apps/cast/src/utils/file/index.ts+++ b/web/apps/cast/src/utils/file/index.ts@@ -367,15 +367,9 @@ export const getPreviewableImage = async (const livePhoto = await decodeLivePhoto(file, fileBlob);fileBlob = new Blob([livePhoto.image]);}- const convertedBlob = await getRenderableImage(- file.metadata.title,- fileBlob,- );- fileBlob = convertedBlob;const fileType = await getFileType(new File([fileBlob], file.metadata.title),);-fileBlob = new Blob([fileBlob], { type: fileType.mimeType });return fileBlob;} catch (e) {