From c2fd379f2e7be806459d666731f1bfddca24816f Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Thu, 2 May 2024 03:26:35 +0900 Subject: [PATCH] fix(YouTube/Hide feed components): `Hide carousel shelf` setting sometimes hides the History or Playlist shelves --- .../patches/youtube/feed/components/FeedComponentsPatch.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/youtube/feed/components/FeedComponentsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/feed/components/FeedComponentsPatch.kt index 39d1c340a..8cbfe1eea 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/feed/components/FeedComponentsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/feed/components/FeedComponentsPatch.kt @@ -29,6 +29,7 @@ import app.revanced.patches.youtube.utils.fingerprints.ScrollTopParentFingerprin import app.revanced.patches.youtube.utils.integrations.Constants.COMPONENTS_PATH import app.revanced.patches.youtube.utils.integrations.Constants.FEED_CLASS_DESCRIPTOR import app.revanced.patches.youtube.utils.navigation.NavigationBarHookPatch +import app.revanced.patches.youtube.utils.playertype.PlayerTypeHookPatch import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch import app.revanced.patches.youtube.utils.resourceid.SharedResourceIdPatch.CaptionToggleContainer import app.revanced.patches.youtube.utils.settings.SettingsPatch @@ -53,6 +54,7 @@ object FeedComponentsPatch : BaseBytecodePatch( dependencies = setOf( LithoFilterPatch::class, NavigationBarHookPatch::class, + PlayerTypeHookPatch::class, SettingsPatch::class, SharedResourceIdPatch::class ),