From 3027c1575717588f43f4b95be6ba97dac2b94069 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 1 Oct 2023 05:04:44 +0200 Subject: [PATCH] feat(YouTube - Hide layout components): Hide "Notify me" button --- .../layout/hide/general/HideLayoutComponentsPatch.kt | 6 ++++++ 1 file changed, 6 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 170d975e..1dd1d77c 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 @@ -51,6 +51,12 @@ 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_notify_me_button", + StringResource("revanced_hide_notify_me_button_title", "Hide \"Notify me\" button"), + StringResource("revanced_hide_notify_me_button_summary_on", "Button is hidden"), + StringResource("revanced_hide_notify_me_button_summary_off", "Button is shown") + ), SwitchPreference( "revanced_hide_timed_reactions", StringResource("revanced_hide_timed_reactions_title", "Hide timed reactions"),