π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Other
Manav Rathi0be4aed1854d
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsxindex 4d070c6b4b..6dfdfd825a 100644--- a/web/apps/photos/src/components/PhotoViewer/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx@@ -252,7 +252,7 @@ function PhotoViewer(props: PhotoViewerProps) {break;case "l":case "L":- onFavClick(photoSwipe?.currItem as EnteFile);+ handleFavoriteClick();break;case "ArrowLeft":handleArrowClick(event, "left");@@ -275,7 +275,7 @@ function PhotoViewer(props: PhotoViewerProps) {window.removeEventListener("copy", handleCopyEvent);}};- }, [isOpen, photoSwipe, showInfo]);+ }, [isOpen, photoSwipe, showInfo, favoriteFileIDs]);useEffect(() => {if (photoSwipe) {@@ -515,7 +515,7 @@ function PhotoViewer(props: PhotoViewerProps) {handleCloseInfo();};- const handleFavoriteClick = async () => {+ const handleFavoriteClick = () => {const file = photoSwipe?.currItem as EnteFile;if (!file ||