Skip to content

Commit 9c29606

Browse files
committed
add new PaidExpired state to pro50 promo
1 parent 302c5da commit 9c29606

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17584,7 +17584,7 @@
1758417584
{
1758517585
"view": "gitlens.views.worktrees",
1758617586
"contents": "Limited-time Sale: Save 33% or more on your 1st seat of Pro.",
17587-
"when": "gitlens:plus:required && gitlens:plus:state == 4 && (gitlens:promo == pro50 || !gitlens:promo)"
17587+
"when": "gitlens:plus:required && (gitlens:plus:state == 4 || gitlens:plus:state == 7) && (gitlens:promo == pro50 || !gitlens:promo)"
1758817588
},
1758917589
{
1759017590
"view": "gitlens.views.worktrees",

src/plus/gk/account/promos.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const promos: Promo[] = [
5353
SubscriptionState.FreePlusInTrial,
5454
SubscriptionState.FreePlusTrialExpired,
5555
SubscriptionState.FreePlusTrialReactivationEligible,
56+
SubscriptionState.PaidExpired,
5657
],
5758
commandTooltip: 'Limited-Time Sale: Save 33% or more on your 1st seat of Pro. See your special price',
5859
},

0 commit comments

Comments
 (0)