Fix “Hide Previous and Next Button” Option

This commit is contained in:
arichornlover 2024-02-25 15:26:05 -06:00 committed by GitHub
parent 70f6ae01fa
commit 85f0ee206c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -620,8 +620,10 @@ static NSString *accessGroupID() {
// Hide Next & Previous button
%group gHidePreviousAndNextButton
%hook YTColdConfig
- (BOOL)removeNextPaddleForAllVideos { return YES; }
- (BOOL)removeNextPaddleForSingletonVideos { return YES; }
- (BOOL)removePreviousPaddleForSingletonVideos { return YES; }
- (BOOL)removePreviousPaddleForAllVideos { return YES; }
%end
// %hook YTMainAppControlsOverlayView // this is only used for v16.xx.x (issues if using with YouTube v17.xx.x up to latest)