π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
not async
Manav Rathid50391ea136c
diff --git a/web/packages/gallery/components/viewer/data-source.ts b/web/packages/gallery/components/viewer/data-source.tsindex ced982eee2..dc0901cca5 100644--- a/web/packages/gallery/components/viewer/data-source.ts+++ b/web/packages/gallery/components/viewer/data-source.ts@@ -314,7 +314,7 @@ const enqueueUpdates = async (file: EnteFile) => {await livePhotoSourceURLs.image(),);const originalImageBlob =- (await livePhotoSourceURLs.originalImageBlob())!;+ livePhotoSourceURLs.originalImageBlob()!;const imageData = {...(await withDimensions(imageURL)),imageURL,diff --git a/web/packages/gallery/services/download.ts b/web/packages/gallery/services/download.tsindex 6d811cee09..c0dc2b1ce6 100644--- a/web/packages/gallery/services/download.ts+++ b/web/packages/gallery/services/download.ts@@ -26,7 +26,7 @@ import { decodeLivePhoto } from "@/media/live-photo";export interface LivePhotoSourceURL {image: () => Promise<string | undefined>;- originalImageBlob: () => Promise<Blob | undefined>;+ originalImageBlob: () => Blob | undefined;video: () => Promise<string | undefined>;}@@ -674,7 +674,7 @@ async function getRenderableLivePhotoURL(}};- const getOriginalImageBlob = async () => {+ const getOriginalImageBlob = () => {try {return new Blob([livePhoto.imageData]);} catch {