fix(YouTube - Hide ads): rename Hide paid content to Hide paid promotion label (#616)

This commit is contained in:
LisoUseInAIKyrios 2024-04-15 19:18:48 +04:00 committed by GitHub
parent 92c591735a
commit 13dc17288d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -113,8 +113,8 @@ public final class LayoutComponentsFilter extends Filter {
"medical_panel"
);
final var paidContent = new StringFilterGroup(
Settings.HIDE_PAID_CONTENT,
final var paidPromotion = new StringFilterGroup(
Settings.HIDE_PAID_PROMOTION_LABEL,
"paid_content_overlay"
);
@ -256,7 +256,7 @@ public final class LayoutComponentsFilter extends Filter {
notifyMe,
channelBar,
communityPosts,
paidContent,
paidPromotion,
searchResultVideo,
latestPosts,
channelWatermark,

View File

@ -49,7 +49,7 @@ public class Settings extends BaseSettings {
public static final BooleanSetting HIDE_GET_PREMIUM = new BooleanSetting("revanced_hide_get_premium", TRUE);
public static final BooleanSetting HIDE_HIDE_LATEST_POSTS = new BooleanSetting("revanced_hide_latest_posts_ads", TRUE);
public static final BooleanSetting HIDE_MERCHANDISE_BANNERS = new BooleanSetting("revanced_hide_merchandise_banners", TRUE);
public static final BooleanSetting HIDE_PAID_CONTENT = new BooleanSetting("revanced_hide_paid_content_ads", TRUE);
public static final BooleanSetting HIDE_PAID_PROMOTION_LABEL = new BooleanSetting("revanced_hide_paid_promotion_label", TRUE);
public static final BooleanSetting HIDE_PRODUCTS_BANNER = new BooleanSetting("revanced_hide_products_banner", TRUE);
public static final BooleanSetting HIDE_SHOPPING_LINKS = new BooleanSetting("revanced_hide_shopping_links", TRUE);
public static final BooleanSetting HIDE_SELF_SPONSOR = new BooleanSetting("revanced_hide_self_sponsor_ads", TRUE);