From 2df0892682406e67283c4aeaacebf8f222029833 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 26 Mar 2024 01:56:33 +0100 Subject: [PATCH] feat(YouTube - Hide Shorts components): Hide like and dislike buttons --- .../layout/hide/shorts/HideShortsComponentsResourcePatch.kt | 2 ++ src/main/resources/addresources/values/strings.xml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt index 83528f34bf..2df134ea80 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsResourcePatch.kt @@ -22,6 +22,8 @@ object HideShortsComponentsResourcePatch : ResourcePatch() { SwitchPreference("revanced_hide_shorts_subscribe_button"), SwitchPreference("revanced_hide_shorts_subscribe_button_paused"), SwitchPreference("revanced_hide_shorts_thanks_button"), + SwitchPreference("revanced_hide_shorts_like_button"), + SwitchPreference("revanced_hide_shorts_dislike_button"), SwitchPreference("revanced_hide_shorts_comments_button"), SwitchPreference("revanced_hide_shorts_remix_button"), SwitchPreference("revanced_hide_shorts_share_button"), diff --git a/src/main/resources/addresources/values/strings.xml b/src/main/resources/addresources/values/strings.xml index 2ffb8d5f14..96c2c917f6 100644 --- a/src/main/resources/addresources/values/strings.xml +++ b/src/main/resources/addresources/values/strings.xml @@ -479,6 +479,12 @@ Hide thanks button Thanks button is hidden Thanks button is shown + Hide like button + Like button is hidden + Like button is shown + Hide dislike button + Dislike button is hidden + Dislike button is shown Hide comments button Comments button is hidden Comments button is shown