Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit 767201c

Browse files
authored
feat(youtube/general-ads): hide movie ad from search
1 parent 64cfe9c commit 767201c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/src/main/java/app/revanced/integrations/patches/GeneralAdsPatch.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public final class GeneralAdsPatch extends Filter {
2222
"playlist_add_to_option_wrapper" // do not block on "add to playlist" flyout menu
2323
};
2424

25-
private final BlockRule custom = new CustomBlockRule(
25+
private final BlockRule custom = new CustomBlockRule(
2626
SettingsEnum.ADREMOVER_CUSTOM_ENABLED,
2727
SettingsEnum.ADREMOVER_CUSTOM_REMOVAL
2828
);
@@ -63,7 +63,8 @@ public GeneralAdsPatch() {
6363
"browsy_bar",
6464
"compact_movie",
6565
"horizontal_movie_shelf",
66-
"movie_and_show_upsell_card"
66+
"movie_and_show_upsell_card",
67+
"compact_tvfilm_item"
6768
);
6869

6970
this.pathRegister.registerAll(

0 commit comments

Comments
 (0)