From 5ec70e2869a753bdbd00cf4652433405dde7568f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 5 Jun 2023 18:57:54 -0400 Subject: [PATCH] Reset preview on upgrade to 14 --- src/plus/subscription/subscriptionService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plus/subscription/subscriptionService.ts b/src/plus/subscription/subscriptionService.ts index 93af8df..c99c87e 100644 --- a/src/plus/subscription/subscriptionService.ts +++ b/src/plus/subscription/subscriptionService.ts @@ -96,8 +96,8 @@ export class SubscriptionService implements Disposable { ); const subscription = this.getStoredSubscription(); - // Resets the preview trial state on the upgrade to 13.0 - if (subscription != null && satisfies(previousVersion, '< 13.0')) { + // Resets the preview trial state on the upgrade to 14.0 + if (subscription != null && satisfies(previousVersion, '< 14.0')) { subscription.previewTrial = undefined; }