From ea7ee56276a4a88f156a06c8f614360561231908 Mon Sep 17 00:00:00 2001 From: johnconner122 <107796137+johnconner122@users.noreply.github.com> Date: Wed, 5 Jul 2023 13:41:57 +0500 Subject: [PATCH] fix(youtube/hide-ads): remove duplicate filter (#432) --- .../revanced/integrations/patches/GeneralAdsPatch.java | 0 .../patches/components/LayoutComponentsFilter.java | 10 +--------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java diff --git a/app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java b/app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java deleted file mode 100644 index e69de29b..00000000 diff --git a/app/src/main/java/app/revanced/integrations/patches/components/LayoutComponentsFilter.java b/app/src/main/java/app/revanced/integrations/patches/components/LayoutComponentsFilter.java index 92a65a2c..a6b0cdc3 100644 --- a/app/src/main/java/app/revanced/integrations/patches/components/LayoutComponentsFilter.java +++ b/app/src/main/java/app/revanced/integrations/patches/components/LayoutComponentsFilter.java @@ -174,15 +174,7 @@ public final class LayoutComponentsFilter extends Filter { channelMemberShelf ); - final var carouselAd = new StringFilterGroup( - SettingsEnum.HIDE_GENERAL_ADS, - "carousel_ad" - ); - - this.identifierFilterGroups.addAll( - graySeparator, - carouselAd - ); + this.identifierFilterGroups.addAll(graySeparator); } private boolean isMixPlaylistFiltered(final byte[] _protobufBufferArray) {