π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move
Manav Rathibfabeaefb94d
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 3dc5bf05f0..7bf433d1e1 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -8,6 +8,7 @@ import { useIsSmallWidth } from "@/base/components/utils/hooks";import { useModalVisibility } from "@/base/components/utils/modal";import log from "@/base/log";import { FullScreenDropZone } from "@/gallery/components/FullScreenDropZone";+import { useFileInput } from "@/gallery/components/utils/use-file-input";import { type Collection } from "@/media/collection";import { mergeMetadata, type EnteFile } from "@/media/file";import {@@ -67,7 +68,6 @@ import { CenteredFlex, FlexWrapper } from "@ente/shared/components/Container";import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";import { getRecoveryKey } from "@ente/shared/crypto/helpers";import { CustomError } from "@ente/shared/error";-import { useFileInput } from "@ente/shared/hooks/useFileInput";import { LS_KEYS, getData } from "@ente/shared/storage/localStorage";import {getToken,diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsxindex 6c94a9376a..9a4e6c8fa4 100644--- a/web/apps/photos/src/pages/shared-albums.tsx+++ b/web/apps/photos/src/pages/shared-albums.tsx@@ -46,7 +46,7 @@ import SingleInputForm, {} from "@ente/shared/components/SingleInputForm";import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";import { CustomError, parseSharingErrorCodes } from "@ente/shared/error";-import { useFileInput } from "@ente/shared/hooks/useFileInput";+import { useFileInput } from "@/gallery/components/utils/use-file-input"import AddPhotoAlternateOutlinedIcon from "@mui/icons-material/AddPhotoAlternateOutlined";import CloseIcon from "@mui/icons-material/Close";import DownloadIcon from "@mui/icons-material/Download";diff --git a/web/packages/shared/hooks/useFileInput.tsx b/web/packages/gallery/components/utils/use-file-input.tssimilarity index 100%rename from web/packages/shared/hooks/useFileInput.tsxrename to web/packages/gallery/components/utils/use-file-input.ts