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

View File

@ -84,8 +84,8 @@ export default definePlugin({
find: "showProgressBadge:",
predicate: () => settings.store.hidePremiumOffersCount,
replacement: {
match: /\(function\(\){return \i\.\i\.getUnacknowledgedOffers\(\i\)\.length}\)/,
replace: "(function(){return 0})"
match: /=\i\.unviewedTrialCount\+\i\.unviewedDiscountCount/,
replace: "=0"
}
}
],