π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
R
Manav Rathi4afa486c1943
diff --git a/web/apps/photos/src/components/FixCreationTime.tsx b/web/apps/photos/src/components/FixCreationTime.tsxindex 171433cb46..cf3028e434 100644--- a/web/apps/photos/src/components/FixCreationTime.tsx+++ b/web/apps/photos/src/components/FixCreationTime.tsx@@ -11,7 +11,7 @@ import {type ParsedMetadataDate,} from "@/media/file-metadata";import { FileType } from "@/media/file-type";-import { PhotoDateTimePicker } from "@/new/photos/components/PhotoDateTimePicker";+import { FileDateTimePicker } from "@/new/photos/components/FileDateTimePicker";import {Dialog,DialogContent,@@ -205,7 +205,7 @@ const OptionsForm: React.FC<OptionsFormProps> = ({/></RadioGroup>{values.option == "custom" && (- <PhotoDateTimePicker+ <FileDateTimePickeronAccept={(customDate) =>setValues({ option: "custom", customDate })}diff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsxindex 8c919ab0b1..b2bb6aed69 100644--- a/web/packages/gallery/components/FileInfo.tsx+++ b/web/packages/gallery/components/FileInfo.tsx@@ -40,9 +40,9 @@ import {type ParsedMetadataDate,} from "@/media/file-metadata";import { FileType } from "@/media/file-type";+import { FileDateTimePicker } from "@/new/photos/components/FileDateTimePicker";import { ChipButton } from "@/new/photos/components/mui/ChipButton";import { FilePeopleList } from "@/new/photos/components/PeopleList";-import { PhotoDateTimePicker } from "@/new/photos/components/PhotoDateTimePicker";import {confirmDisableMapsDialogAttributes,confirmEnableMapsDialogAttributes,@@ -725,7 +725,7 @@ const CreationTime: React.FC<CreationTimeProps> = ({}/>{isInEditMode && (- <PhotoDateTimePicker+ <FileDateTimePickerinitialValue={originalDate}disabled={loading}onAccept={saveEdits}diff --git a/web/packages/new/photos/components/PhotoDateTimePicker.tsx b/web/packages/new/photos/components/FileDateTimePicker.tsxsimilarity index 98%rename from web/packages/new/photos/components/PhotoDateTimePicker.tsxrename to web/packages/new/photos/components/FileDateTimePicker.tsxindex e035ba11c4..beade12cfb 100644--- a/web/packages/new/photos/components/PhotoDateTimePicker.tsx+++ b/web/packages/new/photos/components/FileDateTimePicker.tsx@@ -8,7 +8,7 @@ import dayjs, { Dayjs } from "dayjs";import React, { useState } from "react";import { aboveFileViewerContentZ } from "./utils/z-index";-interface PhotoDateTimePickerProps {+interface FileDateTimePickerProps {/*** The initial date to preselect in the date/time picker.*@@ -45,7 +45,7 @@ interface PhotoDateTimePickerProps {* UTC offset. For more discussion of the caveats and nuances around this, see* [Note: Photos are always in local date/time].*/-export const PhotoDateTimePicker: React.FC<PhotoDateTimePickerProps> = ({+export const FileDateTimePicker: React.FC<FileDateTimePickerProps> = ({initialValue,disabled,onAccept,