Stripe: always show renew/cancel, even if current plan has expired

This commit is contained in:
Neeraj Gupta 2021-09-27 10:38:49 +05:30
parent ddfc9b32d8
commit 908a049594
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -154,7 +154,7 @@ class _StripeSubscriptionPageState extends State<StripeSubscriptionPage> {
widgets.add(SubFaqWidget());
}
if (_hasActiveSubscription && _isActiveStripeSubscriber) {
if (_currentSubscription.paymentProvider == kStripe) {
widgets.add(_stripeRenewOrCancelButton());
}