π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Tweak
Manav Rathib7a8e3366579
diff --git a/web/packages/new/photos/components/Gallery/ListHeader.tsx b/web/packages/new/photos/components/Gallery/ListHeader.tsxindex e60d704509..e7b053f4d4 100644--- a/web/packages/new/photos/components/Gallery/ListHeader.tsx+++ b/web/packages/new/photos/components/Gallery/ListHeader.tsx@@ -1,11 +1,13 @@-import { FlexWrapper } from "@ente/shared/components/Container";-import { Box, styled, Typography } from "@mui/material";+import { Box, Stack, styled, Typography } from "@mui/material";import { t } from "i18next";import React from "react";interface GalleryItemsSummaryProps {+ /** The name / title for the items that are being shown. */name: string;+ /** The number of items being shown. */fileCount: number;+ /** An element (usually an icon) placed after the file count. */endIcon?: React.ReactNode;}@@ -22,19 +24,18 @@ export const GalleryItemsSummary: React.FC<GalleryItemsSummaryProps> = ({<div><Typography variant="h3">{name}</Typography>- <FlexWrapper>+ <Stack direction="row" gap={1.5}><Typography variant="small" color="text.muted">{t("photos_count", { count: fileCount })}</Typography>{endIcon && (<Boxsx={{ svg: { fontSize: "17px", color: "text.muted" } }}- ml={1.5}>{endIcon}</Box>)}- </FlexWrapper>+ </Stack></div>);};