mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Added another Option #111
This commit is contained in:
parent
cec0e27e55
commit
f03ab2fe3d
1 changed files with 12 additions and 0 deletions
12
uYouPlus.xm
12
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue