fix(YouTube - Hide video action buttons): Add option to hide 'Ask' button (#4852)

This commit is contained in:
LisoUseInAIKyrios 2025-04-24 23:23:10 +04:00 committed by GitHub
parent aaf3437a5a
commit 2d94ba9df6
4 changed files with 17 additions and 6 deletions

View file

@ -46,10 +46,11 @@ val hideButtonsPatch = resourcePatch(
SwitchPreference("revanced_hide_remix_button"),
SwitchPreference("revanced_hide_download_button"),
SwitchPreference("revanced_hide_thanks_button"),
SwitchPreference("revanced_hide_ask_button"),
SwitchPreference("revanced_hide_clip_button"),
SwitchPreference("revanced_hide_playlist_button"),
),
),
)
)
)
addLithoFilter("Lapp/revanced/extension/youtube/patches/components/ButtonsFilter;")

View file

@ -583,6 +583,11 @@ Adjust volume by swiping vertically on the right side of the screen"</string>
<string name="revanced_hide_thanks_button_title">Hide Thanks</string>
<string name="revanced_hide_thanks_button_summary_on">Thanks button is hidden</string>
<string name="revanced_hide_thanks_button_summary_off">Thanks button is shown</string>
<!-- 'Ask' should be translated with the same localized wording that YouTube displays.
Button only shows if the user ip is from specific region such as the USA or EU. -->
<string name="revanced_hide_ask_button_title">Hide Ask</string>
<string name="revanced_hide_ask_button_summary_on">Ask button is hidden</string>
<string name="revanced_hide_ask_button_summary_off">Ask button is shown</string>
<!-- 'Clip' should be translated with the same localized wording that YouTube displays. -->
<string name="revanced_hide_clip_button_title">Hide Clip</string>
<string name="revanced_hide_clip_button_summary_on">Clip button is hidden</string>