π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Match reality
Manav Rathi8d701d4fd58f
diff --git a/web/apps/photos/src/components/PhotoFrame.tsx b/web/apps/photos/src/components/PhotoFrame.tsxindex 9a1f42374f..25576c0be6 100644--- a/web/apps/photos/src/components/PhotoFrame.tsx+++ b/web/apps/photos/src/components/PhotoFrame.tsx@@ -112,8 +112,8 @@ export interface PhotoFrameProps {/** This will be set if mode is "people". */activePersonID?: string | undefined;enableDownload?: boolean;- fileToCollectionsMap: Map<number, number[]>;- collectionNameMap: Map<number, string>;+ fileToCollectionsMap?: Map<number, number[]>;+ collectionNameMap?: Map<number, string>;showAppDownloadBanner?: boolean;setIsPhotoSwipeOpen?: (value: boolean) => void;isInHiddenSection?: boolean;diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsxindex 37f84ca94c..b934e68f23 100644--- a/web/apps/photos/src/components/PhotoViewer/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx@@ -103,8 +103,8 @@ export type PhotoViewerProps = Pick<isInHiddenSection: boolean;enableDownload: boolean;setFilesDownloadProgressAttributesCreator: SetFilesDownloadProgressAttributesCreator;- fileToCollectionsMap: Map<number, number[]>;- collectionNameMap: Map<number, string>;+ fileToCollectionsMap?: Map<number, number[]>;+ collectionNameMap?: Map<number, string>;onSelectPerson?: FileInfoProps["onSelectPerson"];};diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsxindex 8923448ce8..07677d11ab 100644--- a/web/apps/photos/src/pages/shared-albums.tsx+++ b/web/apps/photos/src/pages/shared-albums.tsx@@ -546,8 +546,8 @@ export default function PublicCollectionGallery() {selected={selected}activeCollectionID={ALL_SECTION}enableDownload={downloadEnabled}- fileToCollectionsMap={null}- collectionNameMap={null}+ fileToCollectionsMap={undefined}+ collectionNameMap={undefined}setFilesDownloadProgressAttributesCreator={setFilesDownloadProgressAttributesCreator}diff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsxindex 1119401917..ed12d2f662 100644--- a/web/packages/gallery/components/FileInfo.tsx+++ b/web/packages/gallery/components/FileInfo.tsx@@ -1,3 +1,4 @@+/* eslint-disable @typescript-eslint/ban-ts-comment *//* eslint-disable @typescript-eslint/no-unnecessary-condition *//* eslint-disable @typescript-eslint/no-unused-expressions *//* TODO: Audit this file */@@ -319,7 +320,7 @@ export const FileInfo: React.FC<FileInfoProps> = ({/></InfoItem>)}- {showCollectionChips && (+ {showCollectionChips && collectionNameMap && (<InfoItem icon={<FolderOutlinedIcon />}><Stackdirection="row"