From 99c5aa0d5a50f611be53807292df9fcdd27a729f Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Wed, 20 Sep 2023 20:12:49 -0500 Subject: [PATCH] Update uYouPlus.xm --- uYouPlus.xm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uYouPlus.xm b/uYouPlus.xm index 579467e..843e93c 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -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