mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Improved some Options
This commit is contained in:
parent
948f478229
commit
3d245dc784
1 changed files with 6 additions and 3 deletions
|
|
@ -745,16 +745,18 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
self.hidden = YES;
|
||||
self.opaque = YES;
|
||||
self.userInteractionEnabled = NO;
|
||||
[self sizeToFit];
|
||||
[self setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
[self removeFromSuperview];
|
||||
}
|
||||
|
||||
// Hide the Download Button under the Video Player - @arichorn
|
||||
if ((IsEnabled(@"hideAddToOfflineButton_enabled")) && ([self.accessibilityIdentifier isEqualToString:@"id.ui.add_to_offline.button"])) {
|
||||
self.hidden = YES;
|
||||
self.userInteractionEnabled = NO;
|
||||
[self sizeToFit];
|
||||
[self setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
[self removeFromSuperview];
|
||||
}
|
||||
|
||||
// Hide the Comment Section under the Video Player - @arichorn
|
||||
|
|
@ -762,8 +764,9 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
self.hidden = YES;
|
||||
self.opaque = YES;
|
||||
self.userInteractionEnabled = NO;
|
||||
[self sizeToFit];
|
||||
[self setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
[self removeFromSuperview];
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue