From 8e6058b62350b3d14d79e6fe52b0ad781b66b5de Mon Sep 17 00:00:00 2001 From: johnconner122 <107796137+johnconner122@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:48:04 +0500 Subject: [PATCH] feat(YouTube - Hide layout components): Hide `chips shelf` (#2699) --- .../layout/hide/general/patch/HideLayoutComponentsPatch.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/patch/HideLayoutComponentsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/patch/HideLayoutComponentsPatch.kt index ad61328f7..397c7409c 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/patch/HideLayoutComponentsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/patch/HideLayoutComponentsPatch.kt @@ -211,6 +211,12 @@ class HideLayoutComponentsPatch : BytecodePatch( StringResource("revanced_hide_artist_cards_on", "Artist cards is hidden"), StringResource("revanced_hide_artist_cards_off", "Artist cards is shown") ), + SwitchPreference( + "revanced_hide_chips_shelf", + StringResource("revanced_hide_chips_shelf_title", "Hide chips shelf"), + StringResource("revanced_hide_chips_shelf_on", "Chips shelf is hidden"), + StringResource("revanced_hide_chips_shelf_off", "Chips shelf is shown") + ), app.revanced.patches.shared.settings.preference.impl.PreferenceScreen( "revanced_custom_filter_preference_screen", StringResource("revanced_custom_filter_preference_screen_title", "Custom filter"),