From ad0d875fb56e2b2c6bdd0a52b7bef1f6b8c6a2b7 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sat, 11 Nov 2023 16:45:55 -0600 Subject: [PATCH] Updated Hide Channel Watermark Option - #198 --- uYouPlus.xm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index 27515c0..1f9bdc3 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -800,7 +800,16 @@ static void replaceTab(YTIGuideResponse *response) { } %end -// Hide Watermark +// Hide Channel Watermark +%hook YTMainAppVideoPlayerOverlayView +- (BOOL)isWatermarkEnabled { + if (IsEnabled(@"hideChannelWatermark_enabled")) { + return NO; + } + return %orig; +} +%end +// Hide Channel Watermark (for Backwards Compatibility) %hook YTAnnotationsViewController - (void)loadFeaturedChannelWatermark { if (IsEnabled(@"hideChannelWatermark_enabled")) {}