feat(youtube/general-ads): hide chapter teaser under videos

This commit is contained in:
oSumAtrIX 2022-11-15 02:11:18 +01:00
parent c01ba5cbcc
commit 9cf415a894
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -177,8 +177,14 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
"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"),
true, true,
StringResource("revanced_adremover_hide_channel_guidelines_enabled_summary_on", "Channel guidelines are hidden"), StringResource(
StringResource("revanced_adremover_hide_channel_guidelines_enabled_summary_off", "Channel guidelines are shown") "revanced_adremover_hide_channel_guidelines_enabled_summary_on",
"Channel guidelines are hidden"
),
StringResource(
"revanced_adremover_hide_channel_guidelines_enabled_summary_off",
"Channel guidelines are shown"
)
), ),
SwitchPreference( SwitchPreference(
"revanced_adremover_self_sponsor", "revanced_adremover_self_sponsor",
@ -186,6 +192,22 @@ class GeneralBytecodeAdsPatch : BytecodePatch() {
true, true,
StringResource("revanced_adremover_self_sponsor_enabled_summary_on", "Self sponsored cards are hidden"), StringResource("revanced_adremover_self_sponsor_enabled_summary_on", "Self sponsored cards are hidden"),
StringResource("revanced_adremover_self_sponsor_enabled_summary_off", "Self sponsored cards are shown") StringResource("revanced_adremover_self_sponsor_enabled_summary_off", "Self sponsored cards are shown")
),
SwitchPreference(
"revanced_adremover_chapter_teaser",
StringResource(
"revanced_adremover_chapter_teaser_enabled_title",
"Hide chapter teaser under videos"
),
true,
StringResource(
"revanced_adremover_chapter_teaser_enabled_summary_on",
"Chapter teasers are hidden"
),
StringResource(
"revanced_adremover_chapter_teaser_enabled_summary_off",
"Chapter teasers are shown"
)
) )
) )