mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 18:12:06 +00:00
Fix fullscreen button bugs
This commit is contained in:
parent
70087d053e
commit
cda8e32fad
2 changed files with 8 additions and 2 deletions
|
|
@ -51,6 +51,12 @@
|
|||
@property (nonatomic, strong) UIView *_scrimOverlay;
|
||||
@end
|
||||
|
||||
// Hide fullscreen action buttons at the bottom = @bhackel
|
||||
@interface YTFullscreenActionsView : UIView
|
||||
@property (atomic, assign, readwrite, getter=isHidden) BOOL hidden;
|
||||
@property (atomic, assign, readwrite) CGRect frame;
|
||||
@end
|
||||
|
||||
// uYouPlus
|
||||
@interface YTHeaderLogoController : UIView
|
||||
@property(readonly, nonatomic) long long pageStyle;
|
||||
|
|
|
|||
|
|
@ -514,8 +514,8 @@ static NSString *accessGroupID() {
|
|||
- (void)layoutSubviews {
|
||||
%orig;
|
||||
if (IS_ENABLED(@"hideFullscreenActions_enabled")) {
|
||||
self.fullscreenActionsButton.hidden = YES;
|
||||
self.fullscreenActionsButton.frame = CGRectZero;
|
||||
self.hidden = YES;
|
||||
self.frame = CGRectZero;
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue