From ff2637cb4c9c396f626cd7ee912953b22525baef Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 5 Jul 2024 21:40:52 +0400 Subject: [PATCH] fix(YouTube - Hide ads): Hide new types of home feed button ads (#662) --- .../integrations/youtube/patches/components/AdsFilter.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/components/AdsFilter.java b/app/src/main/java/app/revanced/integrations/youtube/patches/components/AdsFilter.java index e7559b65..d3f63a2f 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/components/AdsFilter.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/components/AdsFilter.java @@ -56,10 +56,11 @@ public final class AdsFilter extends Filter { final var buttonedAd = new StringFilterGroup( Settings.HIDE_BUTTONED_ADS, - "_buttoned_layout", - "full_width_square_image_layout", "_ad_with", - "text_image_button_group_layout", + "_buttoned_layout", + // text_image_button_group_layout, landscape_image_button_group_layout, full_width_square_image_button_group_layout + "image_button_group_layout", + "full_width_square_image_layout", "video_display_button_group_layout", "landscape_image_wide_button_layout", "video_display_carousel_button_group_layout"