From 0f9e6e751fe4822c92afd7176e6be67d1afe566f Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 23 Oct 2023 21:46:39 +0200 Subject: [PATCH] feat(YouTube - Hide layout components): Hide video quality menu footer --- .../hide/general/HideLayoutComponentsPatch.kt | 15 +++++++++++++++ 1 file changed, 15 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 816f0bdc..a71aed1e 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 @@ -125,6 +125,21 @@ object HideLayoutComponentsPatch : BytecodePatch( "Expandable chips are shown" ) ), + SwitchPreference( + "revanced_hide_video_quality_menu_footer", + StringResource( + "revanced_hide_video_quality_menu_footer_title", + "Hide video quality menu footer" + ), + StringResource( + "revanced_hide_video_quality_menu_footer_summary_on", + "Video quality menu footer is hidden" + ), + StringResource( + "revanced_hide_video_quality_menu_footer_summary_off", + "Video quality menu footer is shown" + ) + ), SwitchPreference( "revanced_hide_chapters", StringResource(