π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Conv
Manav Rathia52afe509c04
diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsxindex 6a2694e826..9c1c280eaf 100644--- a/web/apps/photos/src/components/Sidebar/index.tsx+++ b/web/apps/photos/src/components/Sidebar/index.tsx@@ -3,6 +3,7 @@ import { openAccountsManagePasskeysPage } from "@/accounts/services/passkey";import { isDesktop } from "@/base/app";import { EnteLogo } from "@/base/components/EnteLogo";import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";+import { SpaceBetweenFlex } from "@/base/components/mui/Container";import { SidebarDrawer } from "@/base/components/mui/SidebarDrawer";import { useModalVisibility } from "@/base/components/utils/modal";import { useIsSmallWidth } from "@/base/hooks";@@ -10,6 +11,7 @@ import log from "@/base/log";import { savedLogs } from "@/base/log-web";import { customAPIHost } from "@/base/origins";import { downloadString } from "@/base/utils/web";+import { DialogCloseIconButton } from "@/new/photos/components/mui/Dialog";import { TwoFactorSettings } from "@/new/photos/components/sidebar/TwoFactorSettings";import { downloadAppDialogAttributes } from "@/new/photos/components/utils/download";import { useUserDetailsSnapshot } from "@/new/photos/components/utils/use-snapshot";@@ -41,11 +43,9 @@ import { AppContext, useAppContext } from "@/new/photos/types/context";import { initiateEmail, openURL } from "@/new/photos/utils/web";import {FlexWrapper,- SpaceBetweenFlex,VerticallyCentered,} from "@ente/shared/components/Container";import { EnteMenuItem } from "@ente/shared/components/Menu/EnteMenuItem";-import DialogTitleWithCloseButton from "@ente/shared/components/TitleWithCloseButton";import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";import { THEME_COLOR } from "@ente/shared/themes/constants";import ArchiveOutlined from "@mui/icons-material/ArchiveOutlined";@@ -136,7 +136,9 @@ interface HeaderSectionProps {const HeaderSection: React.FC<HeaderSectionProps> = ({ closeSidebar }) => {return (- <SpaceBetweenFlex mt={0.5} mb={1} pl={1.5}>+ <SpaceBetweenFlex+ sx={{ marginBlock: "4px 8px", paddingInlineStart: "12px" }}+ ><EnteLogo /><IconButtonaria-label="close"@@ -344,12 +346,17 @@ function MemberSubscriptionManage({ open, userDetails, onClose }) {return (<Dialog {...{ open, onClose, fullScreen }} maxWidth="xs" fullWidth>- <DialogTitleWithCloseButton onClose={onClose}>- <Typography variant="h3" fontWeight={"bold"}>- {t("subscription")}- </Typography>- <Typography color={"text.muted"}>{t("family_plan")}</Typography>- </DialogTitleWithCloseButton>+ <SpaceBetweenFlex sx={{ p: "20px 8px 12px 16px" }}>+ <Stack>+ <Typography variant="h3" fontWeight={"bold"}>+ {t("subscription")}+ </Typography>+ <Typography color={"text.muted"}>+ {t("family_plan")}+ </Typography>+ </Stack>+ <DialogCloseIconButton {...{ onClose }} />+ </SpaceBetweenFlex><DialogContent><VerticallyCentered><Box mb={4}>