feat(YouTube - Hide layout components): Hide "Join" button

This commit is contained in:
oSumAtrIX 2023-10-01 05:07:30 +02:00
parent 3027c15757
commit 1b71f893bb
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -51,6 +51,13 @@ object HideLayoutComponentsPatch : BytecodePatch(
StringResource("revanced_hide_gray_separator_summary_on", "Gray separators are hidden"),
StringResource("revanced_hide_gray_separator_summary_off", "Gray separators are shown")
),
SwitchPreference(
"revanced_hide_join_membership_button",
StringResource("revanced_hide_join_membership_button_title", "Hide \"Join\" button"),
StringResource("revanced_hide_join_membership_button_summary_on", "Button is hidden"),
StringResource("revanced_hide_join_membership_button_summary_off", "Button is shown")
),
SwitchPreference(
"revanced_hide_notify_me_button",
StringResource("revanced_hide_notify_me_button_title", "Hide \"Notify me\" button"),