feat(youtube/general-ads): hide movie ad from search

This commit is contained in:
oSumAtrIX 2022-11-24 16:45:25 +01:00 committed by GitHub
parent 64cfe9c579
commit 767201ce05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ public final class GeneralAdsPatch extends Filter {
"playlist_add_to_option_wrapper" // do not block on "add to playlist" flyout menu
};
private final BlockRule custom = new CustomBlockRule(
private final BlockRule custom = new CustomBlockRule(
SettingsEnum.ADREMOVER_CUSTOM_ENABLED,
SettingsEnum.ADREMOVER_CUSTOM_REMOVAL
);
@ -63,7 +63,8 @@ public final class GeneralAdsPatch extends Filter {
"browsy_bar",
"compact_movie",
"horizontal_movie_shelf",
"movie_and_show_upsell_card"
"movie_and_show_upsell_card",
"compact_tvfilm_item"
);
this.pathRegister.registerAll(