From 908a049594f214d0eca37dcb3dfb682e83857034 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Mon, 27 Sep 2021 10:38:49 +0530 Subject: [PATCH] Stripe: always show renew/cancel, even if current plan has expired --- lib/ui/payment/stripe_subscription_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/payment/stripe_subscription_page.dart b/lib/ui/payment/stripe_subscription_page.dart index db8f6ed09..4c4835473 100644 --- a/lib/ui/payment/stripe_subscription_page.dart +++ b/lib/ui/payment/stripe_subscription_page.dart @@ -154,7 +154,7 @@ class _StripeSubscriptionPageState extends State { widgets.add(SubFaqWidget()); } - if (_hasActiveSubscription && _isActiveStripeSubscriber) { + if (_currentSubscription.paymentProvider == kStripe) { widgets.add(_stripeRenewOrCancelButton()); }