π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
refactor(photos):move-subscription-hook-into-gallery-hooks
Aswin Asok4d1c32c0b930
diff --git a/web/apps/photos/src/components/utils/use-subscription-completion-redirect.tsx b/web/apps/photos/src/components/gallery/hooks/use-subscription-completion-redirect.tsxsimilarity index 100%rename from web/apps/photos/src/components/utils/use-subscription-completion-redirect.tsxrename to web/apps/photos/src/components/gallery/hooks/use-subscription-completion-redirect.tsxdiff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex d41dcafaff..bdcabf5ce5 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -47,6 +47,7 @@ import {performCollectionOp,showCollectionSummaryWithAuthentication,} from "@/components/gallery/helpers";+import { useSubscriptionCompletionRedirect } from "@/components/gallery/hooks/use-subscription-completion-redirect";import {useGalleryReducer,type GalleryBarMode,@@ -57,7 +58,6 @@ import {notifyUnsupportedSharedFavoritesDialogAttributes,trashFilesDialogAttributes,} from "@/components/utils/dialog-attributes";-import { useSubscriptionCompletionRedirect } from "@/components/utils/use-subscription-completion-redirect";import exportService from "@/services/export";import { processPendingAlbumJoin } from "@/services/join-album";import {