From e0d2fe5bd2e681b9a5252a8e4ad582cc019b1606 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 14 Apr 2024 18:54:00 +0400 Subject: [PATCH] feat(YouTube - Hide Shorts components): Hide tagged products, hide search suggestions (#3019) --- .../HideShortsComponentsResourcePatch.kt | 11 +++++---- .../resources/addresources/values/strings.xml | 24 +++++++++---------- 2 files changed, 18 insertions(+), 17 deletions(-) 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 60efa0c0..6d8a0702 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 @@ -34,13 +34,14 @@ object HideShortsComponentsResourcePatch : ResourcePatch() { SwitchPreference("revanced_hide_shorts_sound_button"), // Everything else. - SwitchPreference("revanced_hide_shorts_thanks_button"), - SwitchPreference("revanced_hide_shorts_shop_button"), - SwitchPreference("revanced_hide_shorts_location_button"), - SwitchPreference("revanced_hide_shorts_save_sound_button"), SwitchPreference("revanced_hide_shorts_join_button"), SwitchPreference("revanced_hide_shorts_subscribe_button"), - SwitchPreference("revanced_hide_shorts_subscribe_button_paused"), + SwitchPreference("revanced_hide_shorts_paused_overlay_buttons"), + SwitchPreference("revanced_hide_shorts_save_sound_button"), + SwitchPreference("revanced_hide_shorts_shop_button"), + SwitchPreference("revanced_hide_shorts_tagged_products"), + SwitchPreference("revanced_hide_shorts_search_suggestions"), + SwitchPreference("revanced_hide_shorts_location_label"), SwitchPreference("revanced_hide_shorts_channel_bar"), SwitchPreference("revanced_hide_shorts_info_panel"), SwitchPreference("revanced_hide_shorts_full_video_link_label"), diff --git a/src/main/resources/addresources/values/strings.xml b/src/main/resources/addresources/values/strings.xml index 5c43d813..c2cfcf53 100644 --- a/src/main/resources/addresources/values/strings.xml +++ b/src/main/resources/addresources/values/strings.xml @@ -571,24 +571,24 @@ Hide subscribe button Subscribe button is hidden Subscribe button is shown - - Hide subscribe button when paused - Subscribe button is hidden - Subscribe button is shown - - Hide thanks button - Thanks button is hidden - Thanks button is shown + Hide paused overlay buttons + Paused overlay buttons are hidden + Paused overlay buttons are shown Hide shop button Shop button is hidden Shop button is shown - Hide location button - Location button is hidden - Location button is shown + Hide tagged products + Tagged products are hidden + Tagged products are shown + Hide location label + Location label is hidden + Location label is shown Hide save sound to playlist button Save sound to playlist is hidden Save sound to playlist is shown + Hide search suggestions + Search suggestions are hidden + Search suggestions are shown Hide like button Like button is hidden Like button is shown