mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-21 18:28:47 -04:00
Add YTNoSuggestedVideo
This commit is contained in:
@@ -351,6 +351,16 @@ static BOOL IsEnabled(NSString *key) {
|
||||
}
|
||||
%end
|
||||
|
||||
// YTNoSuggestedVideo - https://github.com/bhackel/YTNoSuggestedVideo
|
||||
%hook YTMainAppVideoPlayerOverlayViewController
|
||||
- (bool)shouldShowAutonavEndscreen {
|
||||
if (IsEnabled(@"noSuggestedVideo_enabled")) {
|
||||
return false;
|
||||
}
|
||||
return %orig;
|
||||
}
|
||||
%end
|
||||
|
||||
// BigYTMiniPlayer: https://github.com/Galactic-Dev/BigYTMiniPlayer
|
||||
%group Main
|
||||
%hook YTWatchMiniBarView
|
||||
|
Reference in New Issue
Block a user