mirror of
https://github.com/revanced/revanced-patches
synced 2024-09-03 04:56:05 +02:00
fix(youtube/hide-video-action-buttons): fix 'hide share button' (#1924)
This commit is contained in:
parent
0d47375092
commit
bc05e4494d
@ -31,18 +31,11 @@ class HideButtonsPatch : ResourcePatch {
|
||||
StringResource("revanced_hide_buttons_title", "Hide action buttons"),
|
||||
listOf(
|
||||
SwitchPreference(
|
||||
"revanced_hide_like_button",
|
||||
StringResource("revanced_hide_like_button_title", "Hide like button"),
|
||||
"revanced_hide_like_dislike_button",
|
||||
StringResource("revanced_hide_like_dislike_button_title", "Hide like and dislike buttons"),
|
||||
false,
|
||||
StringResource("revanced_hide_like_button_summary_on", "Like button is hidden"),
|
||||
StringResource("revanced_hide_like_button_summary_off", "Like button is shown")
|
||||
),
|
||||
SwitchPreference(
|
||||
"revanced_hide_dislike_button",
|
||||
StringResource("revanced_hide_dislike_button_title", "Hide dislike button"),
|
||||
false,
|
||||
StringResource("revanced_hide_dislike_button_summary_on", "Dislike button is hidden"),
|
||||
StringResource("revanced_hide_dislike_button_summary_off", "Dislike button is shown")
|
||||
StringResource("revanced_hide_like_dislike_button_summary_on", "Like and dislike buttons are hidden"),
|
||||
StringResource("revanced_hide_like_dislike_button_summary_off", "Like and dislike buttons are shown")
|
||||
),
|
||||
SwitchPreference(
|
||||
"revanced_hide_download_button",
|
||||
@ -59,18 +52,11 @@ class HideButtonsPatch : ResourcePatch {
|
||||
StringResource("revanced_hide_playlist_button_summary_off", "Playlist button is shown")
|
||||
),
|
||||
SwitchPreference(
|
||||
"revanced_hide_action_button",
|
||||
StringResource("revanced_hide_action_button_title", "Hide create, clip and thanks buttons"),
|
||||
"revanced_hide_action_buttons",
|
||||
StringResource("revanced_hide_action_buttons_title", "Hide all other action buttons"),
|
||||
false,
|
||||
StringResource("revanced_hide_action_button_summary_on", "Buttons are hidden"),
|
||||
StringResource("revanced_hide_action_button_summary_off", "Buttons are shown")
|
||||
),
|
||||
SwitchPreference(
|
||||
"revanced_hide_share_button",
|
||||
StringResource("revanced_hide_share_button_title", "Hide share button"),
|
||||
false,
|
||||
StringResource("revanced_hide_share_button_summary_on", "Share button is hidden"),
|
||||
StringResource("revanced_hide_share_button_summaryoff", "Share button is shown")
|
||||
StringResource("revanced_hide_action_buttons_summary_on", "Share, remix, clip, thanks, shop, live chat buttons are hidden"),
|
||||
StringResource("revanced_hide_action_buttons_summary_off", "Share, remix, clip, thanks, shop, live chat buttons are shown")
|
||||
)
|
||||
),
|
||||
StringResource("revanced_hide_buttons_summary", "Hide or show buttons under videos")
|
||||
|
Loading…
Reference in New Issue
Block a user