π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use
Manav Rathi51ba9270e7bb
diff --git a/web/apps/photos/src/components/Collections/AllCollections/dialog.tsx b/web/apps/photos/src/components/Collections/AllCollections/dialog.tsxindex 6a8bee89a2..bff8302faf 100644--- a/web/apps/photos/src/components/Collections/AllCollections/dialog.tsx+++ b/web/apps/photos/src/components/Collections/AllCollections/dialog.tsx@@ -1,6 +1,5 @@-import { Dialog, Slide, styled } from "@mui/material";+import { Dialog, styled } from "@mui/material";import PropTypes from "prop-types";-import React from "react";export const AllCollectionMobileBreakpoint = 559;@@ -34,10 +33,3 @@ AllCollectionDialog.propTypes = {children: PropTypes.node,onClose: PropTypes.func.isRequired,};--export const Transition = (direction: "left" | "right" | "up") =>- React.forwardRef(- (props: { children: React.ReactElement<any, any> }, ref) => {- return <Slide direction={direction} ref={ref} {...props} />;- },- );diff --git a/web/apps/photos/src/components/Collections/AllCollections/index.tsx b/web/apps/photos/src/components/Collections/AllCollections/index.tsxindex f6f25ba292..928acc8ed7 100644--- a/web/apps/photos/src/components/Collections/AllCollections/index.tsx+++ b/web/apps/photos/src/components/Collections/AllCollections/index.tsx@@ -1,5 +1,6 @@import { CollectionsSortOptions } from "@/new/photos/components/CollectionsSortOptions";import { FilledIconButton } from "@/new/photos/components/mui";+import { SlideUpTransition } from "@/new/photos/components/mui/SlideUpTransition";import type { CollectionSummary } from "@/new/photos/types/collection";import { CollectionsSortBy } from "@/new/photos/types/collection";import { FlexWrapper, FluidContainer } from "@ente/shared/components/Container";@@ -12,10 +13,7 @@ import {Typography,useMediaQuery,} from "@mui/material";-import {- AllCollectionDialog,- Transition,-} from "components/Collections/AllCollections/dialog";+import { AllCollectionDialog } from "components/Collections/AllCollections/dialog";import { t } from "i18next";import AllCollectionContent from "./content";@@ -29,8 +27,6 @@ interface AllCollectionsProps {isInHiddenSection: boolean;}-const LeftSlideTransition = Transition("up");-export default function AllCollections(props: AllCollectionsProps) {const {collectionSummaries,@@ -51,7 +47,7 @@ export default function AllCollections(props: AllCollectionsProps) {return (<AllCollectionDialogposition="flex-end"- TransitionComponent={LeftSlideTransition}+ TransitionComponent={SlideUpTransition}onClose={onClose}open={open}fullScreen={isMobile}