Skip to content

Commit

Permalink
feat(YouTube/Hide ads): add Hide promotion alert banner setting
Browse files Browse the repository at this point in the history
  • Loading branch information
inotia00 committed Sep 5, 2024
1 parent b05b72e commit 82777db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/youtube/settings/host/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Side effect: Community post images may be blocked in fullscreen."</string>
<string name="revanced_hide_paid_promotion_label_title">Hide paid promotion label</string>
<string name="revanced_hide_paid_promotion_label_summary_on">Paid promotion label is hidden.</string>
<string name="revanced_hide_paid_promotion_label_summary_off">Paid promotion label is shown.</string>
<string name="revanced_hide_promotion_alert_banner_title">Hide promotion alert banner</string>
<string name="revanced_hide_promotion_alert_banner_summary_on">Promotion alert banner is hidden.</string>
<string name="revanced_hide_promotion_alert_banner_summary_off">Promotion alert banner is shown.</string>
<string name="revanced_hide_self_sponsor_cards_title">Hide self sponsored cards</string>
<string name="revanced_hide_self_sponsor_cards_summary_on">Self sponsored cards are hidden.</string>
<string name="revanced_hide_self_sponsor_cards_summary_off">Self sponsored cards are shown.</string>
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/youtube/settings/xml/revanced_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<SwitchPreference android:title="@string/revanced_hide_general_ads_title" android:key="revanced_hide_general_ads" android:summaryOn="@string/revanced_hide_general_ads_summary_on" android:summaryOff="@string/revanced_hide_general_ads_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_merchandise_shelf_title" android:key="revanced_hide_merchandise_shelf" android:summaryOn="@string/revanced_hide_merchandise_shelf_summary_on" android:summaryOff="@string/revanced_hide_merchandise_shelf_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_paid_promotion_label_title" android:key="revanced_hide_paid_promotion_label" android:summaryOn="@string/revanced_hide_paid_promotion_label_summary_on" android:summaryOff="@string/revanced_hide_paid_promotion_label_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_promotion_alert_banner_title" android:key="revanced_hide_promotion_alert_banner" android:summaryOn="@string/revanced_hide_promotion_alert_banner_summary_on" android:summaryOff="@string/revanced_hide_promotion_alert_banner_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_self_sponsor_cards_title" android:key="revanced_hide_self_sponsor_cards" android:summaryOn="@string/revanced_hide_self_sponsor_cards_summary_on" android:summaryOff="@string/revanced_hide_self_sponsor_cards_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_video_ads_title" android:key="revanced_hide_video_ads" android:summaryOn="@string/revanced_hide_video_ads_summary_on" android:summaryOff="@string/revanced_hide_video_ads_summary_off" />
<SwitchPreference android:title="@string/revanced_hide_view_products_title" android:key="revanced_hide_view_products" android:summaryOn="@string/revanced_hide_view_products_summary_on" android:summaryOff="@string/revanced_hide_view_products_summary_off" />
Expand Down

0 comments on commit 82777db

Please sign in to comment.