Skip to content

Commit 337bdc3

Browse files
feat(YouTube - Description components): Add Hide 'Key concepts' section option (#3495)
Co-authored-by: ILoveOpenSourceApplications <[email protected]>
1 parent 13ed4a2 commit 337bdc3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ object HideLayoutComponentsPatch : BytecodePatch(
9797
SwitchPreference("revanced_hide_attributes_section"),
9898
SwitchPreference("revanced_hide_chapters_section"),
9999
SwitchPreference("revanced_hide_info_cards_section"),
100+
SwitchPreference("revanced_hide_key_concepts_section"),
100101
SwitchPreference("revanced_hide_podcast_section"),
101102
SwitchPreference("revanced_hide_transcript_section"),
102103
),

src/main/resources/addresources/values/strings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ This is because Crowdin requires temporarily flattening this file and removing t
213213
<string name="revanced_hide_info_cards_section_title">Hide info cards section</string>
214214
<string name="revanced_hide_info_cards_section_summary_on">Info cards section is hidden</string>
215215
<string name="revanced_hide_info_cards_section_summary_off">Info cards section is shown</string>
216+
<string name="revanced_hide_key_concepts_section_title">Hide \'Key concepts\' section</string>
217+
<string name="revanced_hide_key_concepts_section_summary_on">\'Key concepts\' section is hidden</string>
218+
<string name="revanced_hide_key_concepts_section_summary_off">\'Key concepts\' section is shown</string>
216219
<string name="revanced_hide_transcript_section_title">Hide Transcript section</string>
217220
<string name="revanced_hide_transcript_section_summary_on">Transcript section is hidden</string>
218221
<string name="revanced_hide_transcript_section_summary_off">Transcript section is shown</string>

0 commit comments

Comments
 (0)