π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Unused
Manav Rathib5c7e9d6ac14
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.jsonindex 84460dcf24..b02af77522 100644--- a/web/packages/base/locales/en-US/translation.json+++ b/web/packages/base/locales/en-US/translation.json@@ -157,7 +157,6 @@"manage_plan": "Manage your subscription","current_usage": "Current usage is <strong>{{usage}}</strong>","two_months_free": "Get 2 months free on yearly plans",- "POPULAR": "Popular","free_plan_option": "Continue with free plan","free_plan_description": "{{storage}} free forever","active": "Active",diff --git a/web/packages/new/photos/components/PlanSelector.tsx b/web/packages/new/photos/components/PlanSelector.tsxindex 19da83da7e..854c10ff7b 100644--- a/web/packages/new/photos/components/PlanSelector.tsx+++ b/web/packages/new/photos/components/PlanSelector.tsx@@ -506,10 +506,8 @@ const Plans: React.FC<PlansProps> = ({isSubscriptionForPlan(subscription, plan))}- popular={isPopularPlan(plan)}key={plan.stripeID}plan={plan}- subscription={subscription}onPlanSelect={onPlanSelect}/>))}@@ -524,24 +522,13 @@ const Plans: React.FC<PlansProps> = ({</Stack>);-const isPopularPlan = (plan: Plan) =>- plan.storage === 100 * 1024 * 1024 * 1024; /* 100 GB */-interface PlanRowProps {plan: Plan;- subscription: Subscription | undefined;onPlanSelect: (plan: Plan) => void;disabled: boolean;- popular: boolean;}-const PlanRow: React.FC<PlanRowProps> = ({- plan,- subscription,- onPlanSelect,- disabled,- popular,-}) => {+const PlanRow: React.FC<PlanRowProps> = ({ plan, onPlanSelect, disabled }) => {const handleClick = () => !disabled && onPlanSelect(plan);const PlanButton = disabled ? DisabledPlanButton : ActivePlanButton;@@ -550,16 +537,9 @@ const PlanRow: React.FC<PlanRowProps> = ({<PlanRowContainer><TopAlignedFluidContainer><Typography variant="h1">{bytesInGB(plan.storage)}</Typography>- <FlexWrapper flexWrap={"wrap"} gap={1}>- <Typography variant="h3" sx={{ color: "text.muted" }}>- {t("storage_unit.gb")}- </Typography>- {popular &&- !(- subscription &&- isSubscriptionActivePaid(subscription)- ) && <Badge>{t("POPULAR")}</Badge>}- </FlexWrapper>+ <Typography variant="h3" sx={{ color: "text.muted" }}>+ {t("storage_unit.gb")}+ </Typography></TopAlignedFluidContainer><Box sx={{ width: "136px" }}><PlanButton@@ -621,16 +601,6 @@ const ActivePlanButton = styled((props: ButtonProps) => (},}));-const Badge = styled("div")(({ theme }) => ({- borderRadius: theme.shape.borderRadius,- padding: "2px 4px",- backgroundColor: theme.colors.black.muted,- backdropFilter: "blur(48px)",- color: theme.colors.white.base,- textTransform: "uppercase",- ...theme.typography.mini,-}));-interface FreePlanRowProps {onClose: () => void;storage: number;