feat(youtube/hide-layout-components): separate hiding expandable chips and chapters

This commit is contained in:
oSumAtrIX 2023-06-18 18:48:13 +02:00
parent 49f5fe6611
commit 3fb1ce9f9a
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -45,18 +45,33 @@ class HideLayoutComponentsPatch : ResourcePatch {
)
),
SwitchPreference(
"revanced_hide_chapter_teaser",
"revanced_hide_expandable_chip",
StringResource(
"revanced_hide_chapter_teaser_title",
"Hide chapter teaser under videos"
"revanced_hide_expandable_chip_title",
"Hide the expandable chip under videos"
),
StringResource(
"revanced_hide_chapter_teaser_summary_on",
"Chapter teasers are hidden"
"revanced_hide_expandable_chip_summary_on",
"Expandable chips are hidden"
),
StringResource(
"revanced_hide_chapter_teaser_summary_off",
"Chapter teasers are shown"
"revanced_hide_expandable_chip_summary_off",
"Expandable chips are shown"
)
),
SwitchPreference(
"revanced_hide_chapters",
StringResource(
"revanced_hide_chapters_title",
"Hide chapters in the video description"
),
StringResource(
"revanced_hide_chapters_summary_on",
"Chapters are hidden"
),
StringResource(
"revanced_hide_chapters_summary_off",
"Chapters are shown"
)
),
SwitchPreference(