feat(youtube/general-ads): hide pill to view products

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX 2023-02-10 19:41:22 +01:00
parent 767f474dc2
commit 7b1bc1ad50
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -87,6 +87,13 @@ class GeneralAdsResourcePatch : ResourcePatch {
StringResource("revanced_adremover_compact_banner_enabled_summary_on", "Compact banners are hidden"),
StringResource("revanced_adremover_compact_banner_enabled_summary_off", "Compact banners are shown")
),
SwitchPreference(
"revanced_adremover_view_products",
StringResource("revanced_adremover_view_products_title", "Hide pill to view products"),
true,
StringResource("revanced_adremover_view_products_summary_on", "Pill is hidden"),
StringResource("revanced_adremover_view_products_summary_off", "Pill is shown")
),
SwitchPreference(
"revanced_adremover_movie",
StringResource("revanced_adremover_movie_enabled_title", "Hide movies section"),