π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Don't show in archive
Manav Rathi77c1642b3842
diff --git a/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx b/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsxindex 3bf5d12c2d..9247b1e81c 100644--- a/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx+++ b/web/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx@@ -333,17 +333,18 @@ const SelectedFileOptions = ({<ClockIcon /></IconButton></Tooltip>- {!isFavoriteCollection && (- <Tooltip title={t("favorite")}>- <IconButton- onClick={handleFileOps(- FILE_OPS_TYPE.SET_FAVORITE,- )}- >- <FavoriteBorderIcon />- </IconButton>- </Tooltip>- )}+ {!isFavoriteCollection &&+ activeCollectionID != ARCHIVE_SECTION && (+ <Tooltip title={t("favorite")}>+ <IconButton+ onClick={handleFileOps(+ FILE_OPS_TYPE.SET_FAVORITE,+ )}+ >+ <FavoriteBorderIcon />+ </IconButton>+ </Tooltip>+ )}<Tooltip title={t("download")}><IconButtononClick={handleFileOps(FILE_OPS_TYPE.DOWNLOAD)}