1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +00:00

Fix NoPendingCount patch

This commit is contained in:
Nuckyz 2023-10-21 12:13:49 -03:00 committed by Luna
parent 018ea3e45d
commit d8c2df8299

View file

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