π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(photos):exit-cleanup-when-switching-rail-modes
Aswin Asokd1e29a0ee57a
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 5dab326984..1d73d3eed5 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -1478,10 +1478,10 @@ const Page: React.FC = () => {[showCollectionSummary],);- const handleChangeBarMode = (mode: GalleryBarMode) =>- mode == "people"- ? dispatch({ type: "showPeople" })- : dispatch({ type: "showAlbums" });+ const handleChangeBarMode = (mode: GalleryBarMode) => {+ setCleanupView(undefined);+ dispatch({ type: mode == "people" ? "showPeople" : "showAlbums" });+ };const handleFileViewerToggleFavorite = useCallback(async (file: EnteFile) => {