Skip to content

Commit

Permalink
add new PaidExpired state to pro50 promo
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiolms committed Sep 13, 2024
1 parent 302c5da commit 9c29606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17584,7 +17584,7 @@
{
"view": "gitlens.views.worktrees",
"contents": "Limited-time Sale: Save 33% or more on your 1st seat of Pro.",
"when": "gitlens:plus:required && gitlens:plus:state == 4 && (gitlens:promo == pro50 || !gitlens:promo)"
"when": "gitlens:plus:required && (gitlens:plus:state == 4 || gitlens:plus:state == 7) && (gitlens:promo == pro50 || !gitlens:promo)"
},
{
"view": "gitlens.views.worktrees",
Expand Down
1 change: 1 addition & 0 deletions src/plus/gk/account/promos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const promos: Promo[] = [
SubscriptionState.FreePlusInTrial,
SubscriptionState.FreePlusTrialExpired,
SubscriptionState.FreePlusTrialReactivationEligible,
SubscriptionState.PaidExpired,
],
commandTooltip: 'Limited-Time Sale: Save 33% or more on your 1st seat of Pro. See your special price',
},
Expand Down

0 comments on commit 9c29606

Please sign in to comment.