fix(YouTube - Hide description components): Replace Hide game section and Hide music section with Hide attributes section (#3327)

Co-authored-by: ILoveOpenSourceApplications <ILoveOpenSourceApplications@users.noreply.github.com>
This commit is contained in:
ILoveOpenSourceApplications 2024-06-18 04:23:56 +05:30 committed by GitHub
parent 8890b1894c
commit 0198a436f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 16 deletions

View file

@ -94,10 +94,9 @@ object HideLayoutComponentsPatch : BytecodePatch(
PreferenceScreen(
key = "revanced_hide_description_components_screen",
preferences = setOf(
SwitchPreference("revanced_hide_chapters"),
SwitchPreference("revanced_hide_attributes_section"),
SwitchPreference("revanced_hide_chapters_section"),
SwitchPreference("revanced_hide_info_cards_section"),
SwitchPreference("revanced_hide_game_section"),
SwitchPreference("revanced_hide_music_section"),
SwitchPreference("revanced_hide_podcast_section"),
SwitchPreference("revanced_hide_transcript_section"),
),

View file

@ -198,22 +198,19 @@
<string name="revanced_hide_chips_shelf_title">Hide chips shelf</string>
<string name="revanced_hide_chips_shelf_summary_on">Chips shelf is hidden</string>
<string name="revanced_hide_chips_shelf_summary_off">Chips shelf is shown</string>
<string name="revanced_hide_attributes_section_title">Hide attributes section</string>
<string name="revanced_hide_attributes_section_summary_on">\'Featured places\', Games and Music sections are hidden</string>
<string name="revanced_hide_attributes_section_summary_off">\'Featured places\', Games and Music sections are shown</string>
<string name="revanced_hide_chapters_title">Hide Chapters section</string>
<string name="revanced_hide_chapters_summary_on">Chapters section is hidden</string>
<string name="revanced_hide_chapters_summary_off">Chapters section is shown</string>
<string name="revanced_hide_podcast_section_title">Hide \'Explore the podcast\' section</string>
<string name="revanced_hide_podcast_section_summary_on">\'Explore the podcast\' section is hidden</string>
<string name="revanced_hide_podcast_section_summary_off">\'Explore the podcast\' section is shown</string>
<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_chapters_title">Hide chapters</string>
<string name="revanced_hide_chapters_summary_on">Chapters are hidden</string>
<string name="revanced_hide_chapters_summary_off">Chapters are shown</string>
<string name="revanced_hide_game_section_title">Hide game section</string>
<string name="revanced_hide_game_section_summary_on">Game section is hidden</string>
<string name="revanced_hide_game_section_summary_off">Game section is shown</string>
<string name="revanced_hide_music_section_title">Hide music section</string>
<string name="revanced_hide_music_section_summary_on">Music section is hidden</string>
<string name="revanced_hide_music_section_summary_off">Music section is shown</string>
<string name="revanced_hide_podcast_section_title">Hide podcast section</string>
<string name="revanced_hide_podcast_section_summary_on">Podcast section is hidden</string>
<string name="revanced_hide_podcast_section_summary_off">Podcast section is shown</string>
<string name="revanced_hide_transcript_section_title">Hide transcript section</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>
<string name="revanced_hide_description_components_screen_title">Video description</string>