mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 10:52:07 +00:00
Remove Suggested Videos from Video Player #126
This commit is contained in:
parent
c0cf0237fc
commit
10008aa9af
1 changed files with 11 additions and 0 deletions
11
uYouPlus.xm
11
uYouPlus.xm
|
|
@ -1024,6 +1024,17 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
%end
|
||||
%end
|
||||
|
||||
// Hide Suggested Videos in Video Player - @arichorn
|
||||
%hook YTAutonavEndscreenView
|
||||
- (void)didMoveToWindow {
|
||||
%orig;
|
||||
self.hidden = YES;
|
||||
self.userInteractionEnabled = NO;
|
||||
[self setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
%end
|
||||
|
||||
# pragma mark - ctor
|
||||
%ctor {
|
||||
// Load uYou first so its functions are available for hooks.
|
||||
|
|
|
|||
Loading…
Reference in a new issue