From d5fc1a45c4b2c54ac1896c863e5a039a33d0a00e Mon Sep 17 00:00:00 2001 From: Bceez <153008658+Bceez@users.noreply.github.com> Date: Tue, 17 Dec 2024 13:57:52 +0100 Subject: [PATCH 1/3] fix(YouTube - Hide layout components): Hide new kind of community post --- .../youtube/patches/components/LayoutComponentsFilter.java | 5 ++--- 1 file changed, 2 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..b875087e88 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,12 @@ public LayoutComponentsFilter() { final var communityPosts = new StringFilterGroup( Settings.HIDE_COMMUNITY_POSTS, - "post_base_wrapper", "text_post_root.eml", "images_post_root.eml", - "images_post_slim.eml", "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( From 3d8c2ceb9efb3116f9f26c9b1098f710b762e283 Mon Sep 17 00:00:00 2001 From: Bceez <153008658+Bceez@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:44:46 +0100 Subject: [PATCH 2/3] comments --- .../youtube/patches/components/LayoutComponentsFilter.java | 2 ++ 1 file changed, 2 insertions(+) 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 b875087e88..12664069ac 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,8 +73,10 @@ public LayoutComponentsFilter() { final var communityPosts = new StringFilterGroup( Settings.HIDE_COMMUNITY_POSTS, + "post_base_wrapper", // may be obsolete and no longer needed. "text_post_root.eml", "images_post_root.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", From 603b2d2ef3f50261b27f425f095e3645faf79ac6 Mon Sep 17 00:00:00 2001 From: Bceez <153008658+Bceez@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:16:51 +0100 Subject: [PATCH 3/3] typo --- .../youtube/patches/components/LayoutComponentsFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 12664069ac..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 @@ -76,7 +76,7 @@ public LayoutComponentsFilter() { "post_base_wrapper", // may be obsolete and no longer needed. "text_post_root.eml", "images_post_root.eml", - "images_post_slim.eml". // may be obsolete and no longer needed. + "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",