feat(YouTube - Hide shorts components): Hide subscribe button when paused separately from subscribe button

This commit is contained in:
oSumAtrIX 2023-10-05 18:48:54 +02:00
parent c5bbc591e6
commit 52d07ecd39
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -38,6 +38,12 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
StringResource("revanced_hide_shorts_subscribe_button_on", "Subscribe button is hidden"), StringResource("revanced_hide_shorts_subscribe_button_on", "Subscribe button is hidden"),
StringResource("revanced_hide_shorts_subscribe_button_off", "Subscribe button is shown") StringResource("revanced_hide_shorts_subscribe_button_off", "Subscribe button is shown")
), ),
SwitchPreference(
"revanced_hide_shorts_subscribe_button_paused",
StringResource("revanced_hide_shorts_subscribe_button_paused_title", "Hide subscribe button when paused"),
StringResource("revanced_hide_shorts_subscribe_button_paused_on", "Subscribe button is hidden"),
StringResource("revanced_hide_shorts_subscribe_button_paused_off", "Subscribe button is shown")
),
SwitchPreference( SwitchPreference(
"revanced_hide_shorts_thanks_button", "revanced_hide_shorts_thanks_button",
StringResource("revanced_hide_shorts_thanks_button_title", "Hide thanks button"), StringResource("revanced_hide_shorts_thanks_button_title", "Hide thanks button"),