Skip to content

Commit

Permalink
feat(YouTube - Hide ads): Add option to hide the 'Visit store' button…
Browse files Browse the repository at this point in the history
… on channel pages
  • Loading branch information
oSumAtrIX committed Apr 23, 2024
1 parent 1863625 commit 04ea9c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ object HideAdsResourcePatch : ResourcePatch() {
SwitchPreference("revanced_hide_self_sponsor_ads"),
SwitchPreference("revanced_hide_products_banner"),
SwitchPreference("revanced_hide_shopping_links"),
SwitchPreference("revanced_hide_visit_store_button"),
SwitchPreference("revanced_hide_web_search_results"),
SwitchPreference("revanced_hide_merchandise_banners"),
)
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/addresources/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@
<string name="revanced_hide_shopping_links_title">Hide shopping links in video description</string>
<string name="revanced_hide_shopping_links_summary_on">Shopping links are hidden</string>
<string name="revanced_hide_shopping_links_summary_off">Shopping links are shown</string>
<!-- 'Visit store' should be translated with the same localized wording that YouTube displays. -->
<string name="revanced_hide_visit_store_button_title">Hide the 'Visit store' button on channel pages</string>
<string name="revanced_hide_visit_store_button_summary_on">Button is hidden</string>
<string name="revanced_hide_visit_store_button_summary_off">Button is shown</string>
<string name="revanced_hide_web_search_results_title">Hide web search results</string>
<string name="revanced_hide_web_search_results_summary_on">Web search results are hidden</string>
<string name="revanced_hide_web_search_results_summary_off">Web search results are shown</string>
Expand Down

0 comments on commit 04ea9c3

Please sign in to comment.