From d28d65734e46e77db3a9cce2b1f323b593fc1a46 Mon Sep 17 00:00:00 2001 From: OxrxL <108184954+OxrxL@users.noreply.github.com> Date: Sun, 30 Oct 2022 12:51:41 +0100 Subject: [PATCH] fix(youtube/general-ads-patch): `BlockRule` for comments on old and new layout (#192) Co-authored-by: oSumAtrIX --- .../app/revanced/integrations/patches/LithoFilterPatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/app/revanced/integrations/patches/LithoFilterPatch.java b/app/src/main/java/app/revanced/integrations/patches/LithoFilterPatch.java index e1060aaf..006dcbcd 100644 --- a/app/src/main/java/app/revanced/integrations/patches/LithoFilterPatch.java +++ b/app/src/main/java/app/revanced/integrations/patches/LithoFilterPatch.java @@ -200,7 +200,7 @@ class GeneralBytecodeAdsPatch extends Filter { var suggestions = new BlockRule(SettingsEnum.ADREMOVER_SUGGESTIONS_REMOVAL, "horizontal_video_shelf"); var latestPosts = new BlockRule(SettingsEnum.ADREMOVER_HIDE_LATEST_POSTS, "post_shelf"); var channelGuidelines = new BlockRule(SettingsEnum.ADREMOVER_HIDE_CHANNEL_GUIDELINES, "channel_guidelines_entry_banner"); - var comments = new BlockRule(SettingsEnum.HIDE_COMMENTS_SECTION, "comments_"); + var comments = new BlockRule(SettingsEnum.HIDE_COMMENTS_SECTION, "video_metadata_carousel", "_comments"); var previewComment = new BlockRule( SettingsEnum.HIDE_PREVIEW_COMMENT, "carousel_item",