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

Commit

Permalink
fix(YouTube - Hide ads): rename Hide paid content to `Hide paid pro…
Browse files Browse the repository at this point in the history
…motion label` (#616)
  • Loading branch information
LisoUseInAIKyrios authored Apr 15, 2024
1 parent 92c5917 commit 13dc172
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public LayoutComponentsFilter() {
"medical_panel"
);

final var paidContent = new StringFilterGroup(
Settings.HIDE_PAID_CONTENT,
final var paidPromotion = new StringFilterGroup(
Settings.HIDE_PAID_PROMOTION_LABEL,
"paid_content_overlay"
);

Expand Down Expand Up @@ -256,7 +256,7 @@ public LayoutComponentsFilter() {
notifyMe,
channelBar,
communityPosts,
paidContent,
paidPromotion,
searchResultVideo,
latestPosts,
channelWatermark,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 13dc172

Please sign in to comment.