π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
int
Manav Rathie6d4a779c5a4
diff --git a/web/apps/photos/src/components/Collections/CollectionHeader.tsx b/web/apps/photos/src/components/Collections/CollectionHeader.tsxindex 21285e5abc..82e65006cb 100644--- a/web/apps/photos/src/components/Collections/CollectionHeader.tsx+++ b/web/apps/photos/src/components/Collections/CollectionHeader.tsx@@ -49,6 +49,7 @@ import {clearLocalTrash,emptyTrash,} from "ente-new/photos/services/collections";+import { settingsSnapshot } from "ente-new/photos/services/settings";import { usePhotosAppContext } from "ente-new/photos/types/context";import { t } from "i18next";import { GalleryContext } from "pages/gallery";@@ -340,12 +341,14 @@ const CollectionOptions: React.FC<CollectionHeaderProps> = ({>{t("download_favorites")}</DownloadOption>- <OverflowMenuOption- onClick={onCollectionShare}- startIcon={<PeopleIcon />}- >- {/*TODO(FAV):*/ pt("Share favorites")}- </OverflowMenuOption>+ {settingsSnapshot().isInternalUser && (+ <OverflowMenuOption+ onClick={onCollectionShare}+ startIcon={<PeopleIcon />}+ >+ {/*TODO(FAV):*/ pt("Share favorites")}+ </OverflowMenuOption>+ )}</>) : collectionSummaryType == "uncategorized" ? (<DownloadOption onClick={downloadCollection}>@@ -486,7 +489,8 @@ const DownloadQuickOption: React.FC<DownloadQuickOptionProps> = ({const showShareQuickOption = (type: CollectionSummaryType) =>type == "folder" ||- type == "favorites" ||+ (type == "favorites" &&+ /* TODO(FAV): */ settingsSnapshot().isInternalUser) ||type == "album" ||type == "outgoingShare" ||type == "sharedOnlyViaLink" ||