From 3fcf78ef752358c48663ea8fa0ae8363cdcf5982 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Mon, 9 Dec 2024 01:38:35 +0900 Subject: [PATCH] fix(YouTube - Hide layout components): Hiding items in the Settings menu is not working https://github.com/inotia00/ReVanced_Extended/issues/2518 --- .../patches/youtube/general/components/LayoutComponentsPatch.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/general/components/LayoutComponentsPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/general/components/LayoutComponentsPatch.kt index 20b30093c..88a55ff32 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/general/components/LayoutComponentsPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/general/components/LayoutComponentsPatch.kt @@ -10,6 +10,7 @@ import app.revanced.patcher.patch.bytecodePatch import app.revanced.patcher.util.smali.ExternalLabel import app.revanced.patches.shared.litho.addLithoFilter import app.revanced.patches.shared.litho.lithoFilterPatch +import app.revanced.patches.shared.settingmenu.settingsMenuPatch import app.revanced.patches.shared.viewgroup.viewGroupMarginLayoutParamsHookPatch import app.revanced.patches.youtube.utils.compatibility.Constants.COMPATIBLE_PACKAGE import app.revanced.patches.youtube.utils.extension.Constants.COMPONENTS_PATH @@ -52,6 +53,7 @@ val layoutComponentsPatch = bytecodePatch( lithoFilterPatch, sharedResourceIdPatch, settingsPatch, + settingsMenuPatch, viewGroupMarginLayoutParamsHookPatch, )