fix(YouTube - Hide layout components): Hide new kind of community post (#4155)

This commit is contained in:
Bceez 2024-12-17 16:46:46 +01:00 committed by GitHub
parent e6efd53adb
commit 08f68cb5d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,13 +73,14 @@ public final class LayoutComponentsFilter extends Filter {
final var communityPosts = new StringFilterGroup( final var communityPosts = new StringFilterGroup(
Settings.HIDE_COMMUNITY_POSTS, Settings.HIDE_COMMUNITY_POSTS,
"post_base_wrapper", "post_base_wrapper", // may be obsolete and no longer needed.
"text_post_root.eml", "text_post_root.eml",
"images_post_root.eml", "images_post_root.eml",
"images_post_slim.eml", "images_post_slim.eml", // may be obsolete and no longer needed.
"images_post_root_slim.eml", "images_post_root_slim.eml",
"text_post_root_slim.eml", "text_post_root_slim.eml",
"post_base_wrapper_slim.eml" "post_base_wrapper_slim.eml",
"poll_post_root.eml"
); );
final var communityGuidelines = new StringFilterGroup( final var communityGuidelines = new StringFilterGroup(