Skip to content

Commit

Permalink
NoPendingCount: Fix hiding offers count (Vendicated#2975)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadan4 authored Oct 25, 2024
1 parent f5f59be commit 88e8fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/noPendingCount/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default definePlugin({
replacement: {
// The two groups inside the first group grab the minified names of the variables,
// they are then referenced later to find unviewedTrialCount + unviewedDiscountCount.
match: /(?<=\{unviewedTrialCount:(\i),unviewedDiscountCount:(\i)\}.{0,200}\i=)\1\+\2/,
match: /(?<=\{unviewedTrialCount:(\i),unviewedDiscountCount:(\i)\}.{0,300}\i=)\1\+\2/,
replace: "0"
}
}
Expand Down

0 comments on commit 88e8fa7

Please sign in to comment.