Merge pull request #78 from ente-io/handle-expired-subscriptions
Handle expired subscriptions
This commit is contained in:
commit
acd9052fe4
|
@ -357,7 +357,7 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
|
|||
),
|
||||
);
|
||||
}
|
||||
if (!foundActivePlan) {
|
||||
if (!foundActivePlan && _hasActiveSubscription) {
|
||||
_addCurrentPlanWidget(planWidgets);
|
||||
}
|
||||
return planWidgets;
|
||||
|
|
|
@ -270,7 +270,7 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
|
|||
),
|
||||
);
|
||||
}
|
||||
if (!foundActivePlan) {
|
||||
if (!foundActivePlan && _hasActiveSubscription) {
|
||||
_addCurrentPlanWidget(planWidgets);
|
||||
}
|
||||
return planWidgets;
|
||||
|
|
Loading…
Reference in a new issue