mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Another Option https://github.com/qnblackcat/uYouPlus/issues/145
a new option based off of uYou's old `Hide Download Button` option. this will only work on YouTube Versions that have the New Interface.
This commit is contained in:
parent
1371927937
commit
413cb22444
1 changed files with 6 additions and 0 deletions
|
|
@ -738,6 +738,12 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
if ((IsEnabled(@"hideBuySuperThanks_enabled")) && ([self.accessibilityIdentifier isEqualToString:@"id.elements.components.suggested_action"])) {
|
||||
self.hidden = YES;
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue