From 08f68cb5d33f2cfe656d2f93d159c69981f31418 Mon Sep 17 00:00:00 2001 From: Bceez <153008658+Bceez@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:46:46 +0100 Subject: [PATCH] fix(YouTube - Hide layout components): Hide new kind of community post (#4155) --- .../youtube/patches/components/LayoutComponentsFilter.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java b/extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java index 1576dfec45..cd42c669bd 100644 --- a/extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java +++ b/extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java @@ -73,13 +73,14 @@ public LayoutComponentsFilter() { final var communityPosts = new StringFilterGroup( Settings.HIDE_COMMUNITY_POSTS, - "post_base_wrapper", + "post_base_wrapper", // may be obsolete and no longer needed. "text_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", "text_post_root_slim.eml", - "post_base_wrapper_slim.eml" + "post_base_wrapper_slim.eml", + "poll_post_root.eml" ); final var communityGuidelines = new StringFilterGroup(