From a5b323d1d9e5b175c93f0b29732eb1123b83bab7 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sat, 27 May 2023 11:48:24 +0400 Subject: [PATCH] feat(youtube/hide-shorts-components): hide shorts info panel (#2278) --- .../resource/patch/HideShortsComponentsResourcePatch.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt index 0ecb4e6208..bdaf816bf4 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt @@ -63,6 +63,12 @@ class HideShortsComponentsResourcePatch : ResourcePatch { StringResource("revanced_hide_shorts_share_button_on", "Share button is hidden"), StringResource("revanced_hide_shorts_share_button_off", "Share button is shown") ), + SwitchPreference( + "revanced_hide_shorts_info_panel", + StringResource("revanced_hide_shorts_info_panel_title", "Hide info panel"), + StringResource("revanced_hide_shorts_info_panel_on", "Info panel is hidden"), + StringResource("revanced_hide_shorts_info_panel_off", "Info panel is shown") + ), SwitchPreference( "revanced_hide_shorts_navigation_bar", StringResource("revanced_hide_shorts_navigation_bar_title", "Hide navigation bar"),