Skip to content

Commit 7655619

Browse files
author
LisoUseInAIKyrios
authored
feat(YouTube - Hide Shorts components): Hide 'Buy super thanks' button (#3176)
1 parent 245c2ad commit 7655619

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
@@ -41,6 +41,7 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
4141
SwitchPreference("revanced_hide_shorts_shop_button"),
4242
SwitchPreference("revanced_hide_shorts_tagged_products"),
4343
SwitchPreference("revanced_hide_shorts_search_suggestions"),
44+
SwitchPreference("revanced_hide_shorts_super_thanks_button"),
4445
SwitchPreference("revanced_hide_shorts_location_label"),
4546
SwitchPreference("revanced_hide_shorts_channel_bar"),
4647
SwitchPreference("revanced_hide_shorts_info_panel"),

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@
583583
<string name="revanced_hide_shorts_shop_button_title">Hide shop button</string>
584584
<string name="revanced_hide_shorts_shop_button_summary_on">Shop button is hidden</string>
585585
<string name="revanced_hide_shorts_shop_button_summary_off">Shop button is shown</string>
586+
<string name="revanced_hide_shorts_super_thanks_button_title">Hide super thanks button</string>
587+
<string name="revanced_hide_shorts_super_thanks_button_summary_on">Super thanks button is hidden</string>
588+
<string name="revanced_hide_shorts_super_thanks_button_summary_off">Super thanks button is shown</string>
586589
<string name="revanced_hide_shorts_tagged_products_title">Hide tagged products</string>
587590
<string name="revanced_hide_shorts_tagged_products_summary_on">Tagged products are hidden</string>
588591
<string name="revanced_hide_shorts_tagged_products_summary_off">Tagged products are shown</string>

0 commit comments

Comments
 (0)