mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 02:32:10 +00:00
New Option “Hide Videos in Fullscreen”
Technically not a new option. This change was made to move half of the functionality from the option “ Hide all videos under player”.
This commit is contained in:
parent
05e24f733f
commit
a8440ab26e
1 changed files with 6 additions and 0 deletions
|
|
@ -1004,7 +1004,10 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
%orig(arg1);
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
// Hide Videos in Fullscreen - @arichorn
|
||||
%group gNoVideosInFullscreen
|
||||
%hook YTFullScreenEngagementOverlayView
|
||||
- (void)setRelatedVideosView:(id)view {
|
||||
}
|
||||
|
|
@ -1167,6 +1170,9 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
if (IsEnabled(@"noRelatedWatchNexts_enabled")) {
|
||||
%init(gNoRelatedWatchNexts);
|
||||
}
|
||||
if (IsEnabled(@"noVideosInFullscreen_enabled")) {
|
||||
%init(gNoVideosInFullscreen);
|
||||
}
|
||||
if (IsEnabled(@"ytNoModernUI_enabled")) {
|
||||
%init(gYTNoModernUI);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue