Skip to content

Commit

Permalink
feat(youtube/hide-layout-components): separate hiding expandable chip…
Browse files Browse the repository at this point in the history
…s and chapters
  • Loading branch information
oSumAtrIX committed Jun 18, 2023
1 parent 49f5fe6 commit 3fb1ce9
Showing 1 changed file with 22 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3fb1ce9

Please sign in to comment.