π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
newer
Manav Rathiffa80c9db2a3
diff --git a/web/apps/photos/src/components/Collections/CollectionSelector.tsx b/web/apps/photos/src/components/Collections/CollectionSelector.tsxindex b1bf64f78c..df23d5e104 100644--- a/web/apps/photos/src/components/Collections/CollectionSelector.tsx+++ b/web/apps/photos/src/components/Collections/CollectionSelector.tsx@@ -18,7 +18,6 @@ import {useMediaQuery,} from "@mui/material";import { AllCollectionDialog } from "components/Collections/AllCollections/dialog";-import CollectionCard from "components/Collections/CollectionCard";import { t } from "i18next";import { useEffect, useState } from "react";import { createUnCategorizedCollection } from "services/collectionService";@@ -195,14 +194,10 @@ interface AddCollectionButtonProps {const AddCollectionButton: React.FC<AddCollectionButtonProps> = ({showNextModal,}) => (- <CollectionCard- collectionTile={AllCollectionTile}- onClick={() => showNextModal()}- coverFile={null}- >+ <ItemCard TileComponent={AllCollectionTile} onClick={showNextModal}><LargeTileTextOverlay>{t("create_albums")}</LargeTileTextOverlay><ImageContainer>+</ImageContainer>- </CollectionCard>+ </ItemCard>);const ImageContainer = styled(ItemTileOverlay)`diff --git a/web/packages/new/photos/components/ItemCards.tsx b/web/packages/new/photos/components/ItemCards.tsxindex fa86e11fcc..a35a6726e7 100644--- a/web/packages/new/photos/components/ItemCards.tsx+++ b/web/packages/new/photos/components/ItemCards.tsx@@ -13,7 +13,7 @@ interface ItemCardProps {/*** The file (if any) whose thumbnail (if any) should be should be shown.*/- coverFile: EnteFile | undefined;+ coverFile?: EnteFile | undefined;/*** Optional boolean indicating if the user is currently scrolling.*