Fixed Comment Section Identifiers
fixed some of the identifiers to it will hide the rest of the comment section correctly.
This commit is contained in:
parent
732fa3a4d5
commit
1371927937
1 changed files with 2 additions and 1 deletions
|
|
@ -739,8 +739,9 @@ static void replaceTab(YTIGuideResponse *response) {
|
|||
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"])) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
|
|
|||
Loading…
Reference in a new issue