Skip to content

Commit

Permalink
feat(YouTube - Description components): Add `Hide 'Key concepts' sect…
Browse files Browse the repository at this point in the history
…ion` option (#3495)

Co-authored-by: ILoveOpenSourceApplications <[email protected]>
  • Loading branch information
1 parent 36442a3 commit d75b645
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ object HideLayoutComponentsPatch : BytecodePatch(
SwitchPreference("revanced_hide_attributes_section"),
SwitchPreference("revanced_hide_chapters_section"),
SwitchPreference("revanced_hide_info_cards_section"),
SwitchPreference("revanced_hide_key_concepts_section"),
SwitchPreference("revanced_hide_podcast_section"),
SwitchPreference("revanced_hide_transcript_section"),
),
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/addresources/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ This is because Crowdin requires temporarily flattening this file and removing t
<string name="revanced_hide_info_cards_section_title">Hide info cards section</string>
<string name="revanced_hide_info_cards_section_summary_on">Info cards section is hidden</string>
<string name="revanced_hide_info_cards_section_summary_off">Info cards section is shown</string>
<string name="revanced_hide_key_concepts_section_title">Hide \'Key concepts\' section</string>
<string name="revanced_hide_key_concepts_section_summary_on">\'Key concepts\' section is hidden</string>
<string name="revanced_hide_key_concepts_section_summary_off">\'Key concepts\' section is shown</string>
<string name="revanced_hide_transcript_section_title">Hide Transcript section</string>
<string name="revanced_hide_transcript_section_summary_on">Transcript section is hidden</string>
<string name="revanced_hide_transcript_section_summary_off">Transcript section is shown</string>
Expand Down

0 comments on commit d75b645

Please sign in to comment.