File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
kotlin/app/revanced/patches/youtube/layout/hide/shorts
resources/addresources/values Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
2929 // since this Setting menu currently uses the ordering used here.
3030
3131 // Vertical row of buttons on right side of the screen.
32+ SwitchPreference (" revanced_hide_shorts_like_fountain" ),
3233 SwitchPreference (" revanced_hide_shorts_like_button" ),
3334 SwitchPreference (" revanced_hide_shorts_dislike_button" ),
3435 SwitchPreference (" revanced_hide_shorts_comments_button" ),
@@ -59,7 +60,7 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
5960 context.xmlEditor[" res/xml/main_shortcuts.xml" ].use { editor ->
6061 val shortsItem = editor.file.childNodes.findElementByAttributeValueOrThrow(
6162 " android:shortcutId" ,
62- " shorts-shortcut"
63+ " shorts-shortcut" ,
6364 )
6465
6566 shortsItem.parentNode.removeChild(shortsItem)
@@ -70,7 +71,7 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
7071 context.xmlEditor[" res/layout/appwidget_two_rows.xml" ].use { editor ->
7172 val shortsItem = editor.file.childNodes.findElementByAttributeValueOrThrow(
7273 " android:id" ,
73- " @id/button_shorts_container"
74+ " @id/button_shorts_container" ,
7475 )
7576
7677 shortsItem.parentNode.removeChild(shortsItem)
Original file line number Diff line number Diff line change @@ -637,6 +637,9 @@ This is because Crowdin requires temporarily flattening this file and removing t
637637 <string name =" revanced_hide_shorts_stickers_title" >Hide stickers</string >
638638 <string name =" revanced_hide_shorts_stickers_summary_on" >Stickers are hidden</string >
639639 <string name =" revanced_hide_shorts_stickers_summary_off" >Stickers are shown</string >
640+ <string name =" revanced_hide_shorts_like_fountain_title" >Hide like fountain</string >
641+ <string name =" revanced_hide_shorts_like_fountain_summary_on" >Like button fountain animation is hidden</string >
642+ <string name =" revanced_hide_shorts_like_fountain_summary_off" >Like button fountain animation is shown</string >
640643 <string name =" revanced_hide_shorts_like_button_title" >Hide like button</string >
641644 <string name =" revanced_hide_shorts_like_button_summary_on" >Like button is hidden</string >
642645 <string name =" revanced_hide_shorts_like_button_summary_off" >Like button is shown</string >
You can’t perform that action at this time.
0 commit comments