Merge pull request #78 from ente-io/handle-expired-subscriptions

Handle expired subscriptions
This commit is contained in:
Vishnu Mohandas 2021-09-30 21:10:05 +05:30 committed by GitHub
commit acd9052fe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -357,7 +357,7 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
),
);
}
if (!foundActivePlan) {
if (!foundActivePlan && _hasActiveSubscription) {
_addCurrentPlanWidget(planWidgets);
}
return planWidgets;

View file

@ -270,7 +270,7 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
),
);
}
if (!foundActivePlan) {
if (!foundActivePlan && _hasActiveSubscription) {
_addCurrentPlanWidget(planWidgets);
}
return planWidgets;