fix(YouTube - Hide Shorts components): Disable A/B player flags that prevents hiding buttons
This commit is contained in:
parent
d7644152fd
commit
9d10ab6c00
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue