mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +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
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%group gNoRelatedWatchNexts
|
||||||
|
%hook YTWatchNextResultsViewController
|
||||||
|
- (void)setVisibleSections:(NSInteger)arg1 {
|
||||||
|
arg1 = 1;
|
||||||
|
%orig(arg1);
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
%end
|
||||||
|
|
||||||
# pragma mark - Hide Notification Button && SponsorBlock Button
|
# pragma mark - Hide Notification Button && SponsorBlock Button
|
||||||
%hook YTRightNavigationButtons
|
%hook YTRightNavigationButtons
|
||||||
- (void)layoutSubviews {
|
- (void)layoutSubviews {
|
||||||
|
|
@ -1047,6 +1056,9 @@ static void replaceTab(YTIGuideResponse *response) {
|
||||||
if (IsEnabled(@"hideHeatwaves_enabled")) {
|
if (IsEnabled(@"hideHeatwaves_enabled")) {
|
||||||
%init(gHideHeatwaves);
|
%init(gHideHeatwaves);
|
||||||
}
|
}
|
||||||
|
if (IsEnabled(@"noRelatedWatchNexts_enabled")) {
|
||||||
|
%init(gNoRelatedWatchNexts);
|
||||||
|
}
|
||||||
if (IsEnabled(@"ytNoModernUI_enabled")) {
|
if (IsEnabled(@"ytNoModernUI_enabled")) {
|
||||||
%init(gYTNoModernUI);
|
%init(gYTNoModernUI);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue