Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: show provider subtitle if pro plan is canceled

Abdullah Atta0396264842ae
diff --git a/apps/web/src/dialogs/settings/components/subscription-status.tsx b/apps/web/src/dialogs/settings/components/subscription-status.tsx
index e9f960b13..bfd013c75 100644
--- a/apps/web/src/dialogs/settings/components/subscription-status.tsx
+++ b/apps/web/src/dialogs/settings/components/subscription-status.tsx
@@ -127,11 +127,11 @@ export function SubscriptionStatus() {
notebooks & tags.`
: "Access only to basic features including unlimited notes & end-to-end encrypted syncing to unlimited devices."}
</Text>
- {isPro && (
+ {remainingDays > 0 && (isPro || isProCancelled) ? (
<Text sx={{ mt: 2 }} variant="subBody">
{subtitle}. {provider.desc()}
</Text>
- )}
+ ) : null}
<Flex sx={{ gap: 1, mt: 2 }}>
{provider.type === "Web" && (isPro || isProCancelled) ? (
<>