π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
show photo-viewer if editor closed
Abhinav11ca5332f404
diff --git a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsxindex 8e28fda49a..efad2e3f01 100644--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx@@ -49,6 +49,7 @@ interface IProps {file: EnteFile;show: boolean;onClose: () => void;+ closePhotoViewer: () => void;}export const ImageEditorOverlayContext = createContext(@@ -349,6 +350,7 @@ const ImageEditorOverlay = (props: IProps) => {uploadManager.queueFilesForUpload([file], [collection]);setFileURL(null);props.onClose();+ props.closePhotoViewer();} catch (e) {logError(e, 'Error saving copy to ente');}@@ -357,10 +359,9 @@ const ImageEditorOverlay = (props: IProps) => {<><Backdropsx={{- color: '#fff',- zIndex: '999 !important',+ background: '#000',+ zIndex: 1600,width: '100%',- backdropFilter: 'blur(5px)',}}open><Box padding="1rem" width="100%" height="100%">diff --git a/apps/photos/src/components/PhotoViewer/index.tsx b/apps/photos/src/components/PhotoViewer/index.tsxindex e8a5d2a096..2c948e2f05 100644--- a/apps/photos/src/components/PhotoViewer/index.tsx+++ b/apps/photos/src/components/PhotoViewer/index.tsx@@ -575,7 +575,6 @@ function PhotoViewer(props: Iprops) {};const handleOpenEditor = () => {- props.onClose(false);setShowImageEditorOverlay(true);};@@ -871,6 +870,7 @@ function PhotoViewer(props: Iprops) {show={showImageEditorOverlay}file={photoSwipe?.currItem as EnteFile}onClose={handleCloseEditor}+ closePhotoViewer={handleClose}/></>);