Skip to content

Commit a9f418a

Browse files
committed
feat(YouTube - Hide Shorts components): Hide sound metadata label
1 parent 5b0360c commit a9f418a

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/shorts/HideShortsComponentsResourcePatch.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
3030
SwitchPreference("revanced_hide_shorts_info_panel"),
3131
SwitchPreference("revanced_hide_shorts_channel_bar"),
3232
SwitchPreference("revanced_hide_shorts_video_title"),
33+
SwitchPreference("revanced_hide_shorts_sound_metadata_label"),
3334
SwitchPreference("revanced_hide_shorts_full_video_link_label"),
3435
SwitchPreference("revanced_hide_shorts_sound_button"),
3536
SwitchPreference("revanced_hide_shorts_navigation_bar"),

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,9 @@
503503
<string name="revanced_hide_shorts_video_title_title">Hide Shorts video title</string>
504504
<string name="revanced_hide_shorts_video_title_summary_on">Title is hidden</string>
505505
<string name="revanced_hide_shorts_video_title_summary_off">Title is shown</string>
506+
<string name="revanced_hide_shorts_sound_metadata_label_title">Hide sound metadata label</string>
507+
<string name="revanced_hide_shorts_sound_metadata_label_summary_on">Label is hidden</string>
508+
<string name="revanced_hide_shorts_sound_metadata_label_summary_off">Label is shown</string>
506509
<string name="revanced_hide_shorts_full_video_link_label_title">Hide full video link label</string>
507510
<string name="revanced_hide_shorts_full_video_link_label_summary_on">Label is hidden</string>
508511
<string name="revanced_hide_shorts_full_video_link_label_summary_off">Label is shown</string>

0 commit comments

Comments
 (0)