Skip to content

Commit 5210ac4

Browse files
feat(YouTube - Hide Shorts components): Hide Shop, Location and Save sound to playlist buttons (ReVanced#3018)
1 parent dd3535e commit 5210ac4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
3535

3636
// Everything else.
3737
SwitchPreference("revanced_hide_shorts_thanks_button"),
38+
SwitchPreference("revanced_hide_shorts_shop_button"),
39+
SwitchPreference("revanced_hide_shorts_location_button"),
40+
SwitchPreference("revanced_hide_shorts_save_sound_button"),
3841
SwitchPreference("revanced_hide_shorts_join_button"),
3942
SwitchPreference("revanced_hide_shorts_subscribe_button"),
4043
SwitchPreference("revanced_hide_shorts_subscribe_button_paused"),

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

+9
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,15 @@
577577
<string name="revanced_hide_shorts_thanks_button_title">Hide thanks button</string>
578578
<string name="revanced_hide_shorts_thanks_button_summary_on">Thanks button is hidden</string>
579579
<string name="revanced_hide_shorts_thanks_button_summary_off">Thanks button is shown</string>
580+
<string name="revanced_hide_shorts_shop_button_title">Hide shop button</string>
581+
<string name="revanced_hide_shorts_shop_button_summary_on">Shop button is hidden</string>
582+
<string name="revanced_hide_shorts_shop_button_summary_off">Shop button is shown</string>
583+
<string name="revanced_hide_shorts_location_button_title">Hide location button</string>
584+
<string name="revanced_hide_shorts_location_button_summary_on">Location button is hidden</string>
585+
<string name="revanced_hide_shorts_location_button_summary_off">Location button is shown</string>
586+
<string name="revanced_hide_shorts_save_sound_button_title">Hide save sound to playlist button</string>
587+
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save sound to playlist is hidden</string>
588+
<string name="revanced_hide_shorts_save_sound_button_summary_off">save sound to playlist is shown</string>
580589
<string name="revanced_hide_shorts_like_button_title">Hide like button</string>
581590
<string name="revanced_hide_shorts_like_button_summary_on">Like button is hidden</string>
582591
<string name="revanced_hide_shorts_like_button_summary_off">Like button is shown</string>

0 commit comments

Comments
 (0)