1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +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:",
predicate: () => settings.store.hidePremiumOffersCount,
replacement: {
match: /\(function\(\){return \i\.\i\.getUnacknowledgedOffers\(\i\)\.length}\)/,
replace: "(function(){return 0})"
match: /=\i\.unviewedTrialCount\+\i\.unviewedDiscountCount/,
replace: "=0"
}
}
],