fix(YouTube - Hide Shorts components): Disable A/B player flags that prevents hiding buttons
This commit is contained in:
@ -267,12 +267,12 @@ val hideShortsComponentsPatch = bytecodePatch(
|
|||||||
// Since the buttons are native components and not Litho, it should be possible to
|
// 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
|
// fix the RYD Shorts loading delay by asynchronously loading RYD and updating
|
||||||
// the button text after RYD has loaded.
|
// 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 UI renderer must also be disabled since it requires the
|
||||||
// experimental Shorts player. If this is enabled but Shorts player
|
// experimental Shorts player. If this is enabled but Shorts player
|
||||||
// is disabled then the app crashes when the Shorts player is opened.
|
// is disabled then the app crashes when the Shorts player is opened.
|
||||||
renderNextUIFeatureFlagFingerprint.method.returnLate(true)
|
renderNextUIFeatureFlagFingerprint.method.returnLate(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
// endregion
|
// endregion
|
||||||
|
Reference in New Issue
Block a user