From 83f614042610b4fa248bd2159bcc29541890d399 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:09:33 -0500 Subject: [PATCH] Update uYouPlus.xm --- Sources/uYouPlus.xm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 4f44f32..e8270f8 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -41,13 +41,15 @@ NSBundle *tweakBundle = uYouPlusBundle(); // Workaround: uYou 3.0.3 Adblock fix. %hook YTAdsInnerTubeContextDecorator if ([NSUserDefaults.standardUserDefaults boolForKey:@"removeYouTubeAds"]) { -- (void)decorateContext:(id)context {} +- (void)decorateContext:(id)context { + } } %end %hook YTAccountScopedAdsInnerTubeContextDecorator if ([NSUserDefaults.standardUserDefaults boolForKey:@"removeYouTubeAds"]) { -- (void)decorateContext:(id)context {} +- (void)decorateContext:(id)context { + } } %end BOOL isAd(YTIElementRenderer *self) {