Browse Source

Reset preview on upgrade to 14

main
Eric Amodio 1 year ago
parent
commit
5ec70e2869
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/plus/subscription/subscriptionService.ts

+ 2
- 2
src/plus/subscription/subscriptionService.ts View File

@ -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;
}

Loading…
Cancel
Save