mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 22:22:06 +00:00
Add hide fullscreen buttons
This commit is contained in:
parent
620d3cbb99
commit
068a3c3bd5
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue