Add hide fullscreen buttons

This commit is contained in:
Bryce Hackel 2024-03-18 01:45:06 -07:00
parent 620d3cbb99
commit 068a3c3bd5
No known key found for this signature in database
GPG key ID: F031960F08455E88

View file

@ -509,6 +509,17 @@ static NSString *accessGroupID() {
}
%end
// Hide fullscreen actions buttons at the bottom - @bhackel
%hook YTFullscreenActionsView
- (void)layoutSubviews {
%orig;
if (IS_ENABLED(@"hideFullscreenActions_enabled")) {
self.fullscreenActionsButton.hidden = YES;
self.fullscreenActionsButton.frame = CGRectZero;
}
}
%end
# pragma mark - uYouPlus
// Video Player Options
// Skips content warning before playing *some videos - @PoomSmart