Fix NoPendingCount patch

This commit is contained in:
Nuckyz 2023-10-21 12:13:49 -03:00
parent 5a0b2ee3f5
commit fe60a72b80
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -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"
} }
} }
], ],