Fix NoPendingCount patch
This commit is contained in:
parent
5a0b2ee3f5
commit
fe60a72b80
|
@ -84,8 +84,8 @@ export default definePlugin({
|
||||||
find: "showProgressBadge:",
|
find: "showProgressBadge:",
|
||||||
predicate: () => settings.store.hidePremiumOffersCount,
|
predicate: () => settings.store.hidePremiumOffersCount,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\(function\(\){return \i\.\i\.getUnacknowledgedOffers\(\i\)\.length}\)/,
|
match: /=\i\.unviewedTrialCount\+\i\.unviewedDiscountCount/,
|
||||||
replace: "(function(){return 0})"
|
replace: "=0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue