mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-12 20:57:52 +01:00
fix(youtube/hide-video-action-buttons): fix hide action buttons not working for some users (#1959)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
2616f4a714
commit
3ff1489b32
@ -51,12 +51,21 @@ class HideButtonsPatch : ResourcePatch {
|
|||||||
StringResource("revanced_hide_playlist_button_summary_on", "Playlist button is hidden"),
|
StringResource("revanced_hide_playlist_button_summary_on", "Playlist button is hidden"),
|
||||||
StringResource("revanced_hide_playlist_button_summary_off", "Playlist button is shown")
|
StringResource("revanced_hide_playlist_button_summary_off", "Playlist button is shown")
|
||||||
),
|
),
|
||||||
|
SwitchPreference(
|
||||||
|
"revanced_hide_clip_button",
|
||||||
|
StringResource("revanced_hide_clip_button_title", "Hide clip button"),
|
||||||
|
false,
|
||||||
|
StringResource("revanced_hide_clip_button_summary_on", "Clip button is hidden"),
|
||||||
|
StringResource("revanced_hide_clip_button_summary_off", "Clip button is shown"),
|
||||||
|
StringResource("revanced_hide_clip_button_user_dialog_message",
|
||||||
|
"Hiding the clip button might not work reliably. In the case it does not work, it can only be hidden by enabling \\'Hide all other action buttons\\'")
|
||||||
|
),
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_hide_action_buttons",
|
"revanced_hide_action_buttons",
|
||||||
StringResource("revanced_hide_action_buttons_title", "Hide all other action buttons"),
|
StringResource("revanced_hide_action_buttons_title", "Hide all other action buttons"),
|
||||||
false,
|
false,
|
||||||
StringResource("revanced_hide_action_buttons_summary_on", "Share, remix, clip, thanks, shop, live chat buttons are hidden"),
|
StringResource("revanced_hide_action_buttons_summary_on", "Share, remix, 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_action_buttons_summary_off", "Share, remix, thanks, shop, live chat buttons are shown")
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
StringResource("revanced_hide_buttons_summary", "Hide or show buttons under videos")
|
StringResource("revanced_hide_buttons_summary", "Hide or show buttons under videos")
|
||||||
|
Loading…
Reference in New Issue
Block a user