From 68d35eafc15513c23cd5220260023e7ec5b7978a Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sat, 1 Jun 2024 00:59:02 +0400 Subject: [PATCH] feat(YouTube - Hide layout components): Disable like / subscribe button glow animation (#3265) --- .../youtube/layout/hide/general/HideLayoutComponentsPatch.kt | 1 + src/main/resources/addresources/values/strings.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt index d9827600..240f2c56 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt @@ -102,6 +102,7 @@ object HideLayoutComponentsPatch : BytecodePatch( SwitchPreference("revanced_hide_expandable_chip"), SwitchPreference("revanced_hide_info_panels"), SwitchPreference("revanced_hide_join_membership_button"), + SwitchPreference("revanced_disable_like_subscribe_glow"), SwitchPreference("revanced_hide_medical_panels"), SwitchPreference("revanced_hide_quick_actions"), SwitchPreference("revanced_hide_related_videos"), diff --git a/src/main/resources/addresources/values/strings.xml b/src/main/resources/addresources/values/strings.xml index 26670cf6..fb45208e 100644 --- a/src/main/resources/addresources/values/strings.xml +++ b/src/main/resources/addresources/values/strings.xml @@ -91,6 +91,9 @@ Turning off error toasts hides all ReVanced error notifications.\n\nYou will not be notified of any unexpected events. + Disable like / subscribe button glow + Like and subscribe button will not glow when mentioned + Like and subscribe button will glow when mentioned Hide gray separator Gray separators are hidden Gray separators are shown