diff --git a/uYouPlus.xm b/uYouPlus.xm index 7e325cd..50d03fb 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -502,6 +502,15 @@ static void repositionCreateTab(YTIGuideResponse *response) { %end %end +%group gNoRelatedWatchNexts +%hook YTWatchNextResultsViewController +- (void)setVisibleSections:(NSInteger)arg1 { + arg1 = 1; + %orig(arg1); +} +%end +%end + # pragma mark - Hide Notification Button && SponsorBlock Button %hook YTRightNavigationButtons - (void)layoutSubviews { @@ -1047,6 +1056,9 @@ static void replaceTab(YTIGuideResponse *response) { if (IsEnabled(@"hideHeatwaves_enabled")) { %init(gHideHeatwaves); } + if (IsEnabled(@"noRelatedWatchNexts_enabled")) { + %init(gNoRelatedWatchNexts); + } if (IsEnabled(@"ytNoModernUI_enabled")) { %init(gYTNoModernUI); }