From fe60a72b804fd8a609c36fc568bd81143dac2b19 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sat, 21 Oct 2023 12:13:49 -0300 Subject: [PATCH] Fix NoPendingCount patch --- src/plugins/noPendingCount/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/noPendingCount/index.ts b/src/plugins/noPendingCount/index.ts index 2ce375e0..21bd196a 100644 --- a/src/plugins/noPendingCount/index.ts +++ b/src/plugins/noPendingCount/index.ts @@ -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" } } ],