From bef0dacac54caf1ca9511d7bc19b19140ccb4eaf Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Thu, 5 Jun 2025 11:21:05 +0200 Subject: [PATCH] fix(YouTube - Hide Shorts components): Disable A/B player flags that prevents hiding buttons --- .../youtube/layout/hide/shorts/HideShortsComponentsPatch.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsPatch.kt index 970cc2260..7bd2aa41f 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsPatch.kt @@ -267,12 +267,12 @@ val hideShortsComponentsPatch = bytecodePatch( // Since the buttons are native components and not Litho, it should be possible to // fix the RYD Shorts loading delay by asynchronously loading RYD and updating // the button text after RYD has loaded. - shortsExperimentalPlayerFeatureFlagFingerprint.method.returnLate(true) + shortsExperimentalPlayerFeatureFlagFingerprint.method.returnLate(false) // Experimental UI renderer must also be disabled since it requires the // experimental Shorts player. If this is enabled but Shorts player // is disabled then the app crashes when the Shorts player is opened. - renderNextUIFeatureFlagFingerprint.method.returnLate(true) + renderNextUIFeatureFlagFingerprint.method.returnLate(false) } // endregion