mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-05-06 15:49:37 +00:00
Update uYouPlus.xm
This commit is contained in:
parent
5df593c7e7
commit
99c5aa0d5a
1 changed files with 6 additions and 0 deletions
|
|
@ -742,12 +742,18 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
// 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 setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
|
||||
// Hide the Comment Section under the Video Player - @arichorn
|
||||
if ((IsEnabled(@"hideCommentSection_enabled")) && ([self.accessibilityIdentifier isEqualToString:@"id.ui.comments_entry_point_teaser"] || [self.accessibilityIdentifier isEqualToString:@"id.ui.comments_entry_point_simplebox"] || [self.accessibilityIdentifier isEqualToString:@"id.ui.video_metadata_carousel"] || [self.accessibilityIdentifier isEqualToString:@"id.ui.carousel_header"])) {
|
||||
self.hidden = YES;
|
||||
self.opaque = YES;
|
||||
self.userInteractionEnabled = NO;
|
||||
[self setNeedsLayout];
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue