π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reorder
Manav Rathicdf947478881
diff --git a/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx b/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsxindex 12fbd1cbf3..c0b3505859 100644--- a/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx+++ b/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx@@ -1,4 +1,4 @@-import { SelectionBar } from "@/base/components/Navbar";+import { NavbarBaseNormalFlow, SelectionBar } from "@/base/components/Navbar";import type { Collection } from "@/media/collection";import type { CollectionSelectorAttributes } from "@/new/photos/components/CollectionSelector";import type { GalleryBarMode } from "@/new/photos/components/gallery/reducer";@@ -174,7 +174,7 @@ const SelectedFileOptions = ({};return (- <SelectionBar>+ <NavbarBaseNormalFlow><FluidContainer><IconButton onClick={clearSelection}><CloseIcon />@@ -417,7 +417,7 @@ const SelectedFileOptions = ({</>)}</Stack>- </SelectionBar>+ </NavbarBaseNormalFlow>);};diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsxindex 8463813a1a..2c980c80bd 100644--- a/web/apps/photos/src/pages/gallery.tsx+++ b/web/apps/photos/src/pages/gallery.tsx@@ -969,6 +969,44 @@ const Page: React.FC = () => {/>)}</NavbarBaseNormalFlow>+ {selected.count > 0 &&+ selected.collectionID === activeCollectionID && (+ <SelectedFileOptions+ handleCollectionOps={collectionOpsHelper}+ handleFileOps={fileOpsHelper}+ showCreateCollectionModal={+ showCreateCollectionModal+ }+ onOpenCollectionSelector={+ handleOpenCollectionSelector+ }+ count={selected.count}+ ownCount={selected.ownCount}+ clearSelection={clearSelection}+ barMode={barMode}+ activeCollectionID={activeCollectionID}+ selectedCollection={getSelectedCollection(+ selected.collectionID,+ collections,+ )}+ isFavoriteCollection={+ collectionSummaries.get(activeCollectionID)+ ?.type == "favorites"+ }+ isUncategorizedCollection={+ collectionSummaries.get(activeCollectionID)+ ?.type == "uncategorized"+ }+ isIncomingSharedCollection={+ collectionSummaries.get(activeCollectionID)+ ?.type == "incomingShareCollaborator" ||+ collectionSummaries.get(activeCollectionID)+ ?.type == "incomingShareViewer"+ }+ isInSearchMode={isInSearchMode}+ isInHiddenSection={barMode == "hidden-albums"}+ />+ )}{isOffline && <OfflineMessage />}<GalleryBarAndListHeader@@ -1085,44 +1123,6 @@ const Page: React.FC = () => {}}/>)}- {selected.count > 0 &&- selected.collectionID === activeCollectionID && (- <SelectedFileOptions- handleCollectionOps={collectionOpsHelper}- handleFileOps={fileOpsHelper}- showCreateCollectionModal={- showCreateCollectionModal- }- onOpenCollectionSelector={- handleOpenCollectionSelector- }- count={selected.count}- ownCount={selected.ownCount}- clearSelection={clearSelection}- barMode={barMode}- activeCollectionID={activeCollectionID}- selectedCollection={getSelectedCollection(- selected.collectionID,- collections,- )}- isFavoriteCollection={- collectionSummaries.get(activeCollectionID)- ?.type == "favorites"- }- isUncategorizedCollection={- collectionSummaries.get(activeCollectionID)- ?.type == "uncategorized"- }- isIncomingSharedCollection={- collectionSummaries.get(activeCollectionID)- ?.type == "incomingShareCollaborator" ||- collectionSummaries.get(activeCollectionID)- ?.type == "incomingShareViewer"- }- isInSearchMode={isInSearchMode}- isInHiddenSection={barMode == "hidden-albums"}- />- )}<Export{...exportVisibilityProps}collectionNameMap={state.allCollectionNameByID}