Bläddra i källkod

Reset preview on upgrade to 14

main
Eric Amodio 1 år sedan
förälder
incheckning
5ec70e2869
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      src/plus/subscription/subscriptionService.ts

+ 2
- 2
src/plus/subscription/subscriptionService.ts Visa fil

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

Laddar…
Avbryt
Spara