Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Tweak

Manav Rathi7cf58125368e
diff --git a/web/packages/new/photos/components/gallery/PeopleHeader.tsx b/web/packages/new/photos/components/gallery/PeopleHeader.tsx
index 3cc15504f6..b078b5aea2 100644
--- a/web/packages/new/photos/components/gallery/PeopleHeader.tsx
+++ b/web/packages/new/photos/components/gallery/PeopleHeader.tsx
@@ -33,6 +33,7 @@ import AddIcon from "@mui/icons-material/Add";
import CheckIcon from "@mui/icons-material/Check";
import ClearIcon from "@mui/icons-material/Clear";
import EditIcon from "@mui/icons-material/Edit";
+import HideImageOutlinedIcon from "@mui/icons-material/HideImageOutlined";
import ListAltOutlinedIcon from "@mui/icons-material/ListAltOutlined";
import MoreHorizIcon from "@mui/icons-material/MoreHoriz";
import RestoreIcon from "@mui/icons-material/Restore";
@@ -222,18 +223,17 @@ const ClusterPersonHeader: React.FC<ClusterPersonHeaderProps> = ({
const confirmIgnore = () =>
showMiniDialog({
- title: pt("Ignore"),
message: pt(
- "This face grouping will be not be shown in the people list",
+ "This face grouping will not be shown in the people list",
),
continue: {
- text: t("yes"),
- action: ignore,
+ text: pt("Ignore"),
+ color: "primary",
+ action: () => ignoreCluster(cluster),
},
+ buttonDirection: "row",
});
- const ignore = () => ignoreCluster(cluster);
-
return (
<>
<GalleryItemsSummary
@@ -254,18 +254,18 @@ const ClusterPersonHeader: React.FC<ClusterPersonHeaderProps> = ({
triggerButtonIcon={<MoreHorizIcon />}
>
<OverflowMenuOption
- startIcon={<EditIcon />}
+ startIcon={<AddIcon />}
centerAlign
- onClick={confirmIgnore}
+ onClick={showAddPerson}
>
- {pt("Ignore")}
+ {pt("Add a name")}
</OverflowMenuOption>
<OverflowMenuOption
- startIcon={<AddIcon />}
+ startIcon={<HideImageOutlinedIcon />}
centerAlign
- onClick={showAddPerson}
+ onClick={confirmIgnore}
>
- {pt("Add a name")}
+ {pt("Ignore")}
</OverflowMenuOption>
</OverflowMenu>
</Stack>