feat(youtube/general-ads): hide horizontal video shelf

Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
oSumAtrIX 2023-02-19 05:23:55 +01:00
parent 9003977c00
commit 169e2ba670
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -37,6 +37,13 @@ class GeneralAdsResourcePatch : ResourcePatch {
StringResource("revanced_adremover_separator_summary_on", "Gray separators are hidden"), StringResource("revanced_adremover_separator_summary_on", "Gray separators are hidden"),
StringResource("revanced_adremover_separator_summary_off", "Gray separators are shown") StringResource("revanced_adremover_separator_summary_off", "Gray separators are shown")
), ),
SwitchPreference(
"revanced_horizontal_video_shelf",
StringResource("revanced_horizontal_video_shelf_title", "Hide horizontal video shelf"),
true,
StringResource("revanced_horizontal_video_shelf_summary_on", "Shelf is hidden"),
StringResource("revanced_horizontal_video_shelf_summary_off", "Shelf is shown")
),
SwitchPreference( SwitchPreference(
"revanced_adremover_hide_channel_guidelines", "revanced_adremover_hide_channel_guidelines",
StringResource("revanced_adremover_hide_channel_guidelines_enabled_title", "Hide channel guidelines"), StringResource("revanced_adremover_hide_channel_guidelines_enabled_title", "Hide channel guidelines"),