fix(YouTube - Playback speed): Old playback speed menu does not show with experimental app targets

Co-authored-by: LisoUseInAIKyrios <118716522+lisouseinaikyrios@users.noreply.github.com>
This commit is contained in:
oSumAtrIX 2026-03-21 19:40:38 +01:00
parent 58898b92fe
commit e52114076e
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
3 changed files with 27 additions and 1 deletions

View file

@ -126,6 +126,14 @@ public class CustomPlaybackSpeedPatch {
return !DISABLE_TAP_AND_HOLD_SPEED && original;
}
/**
* Injection point.
*/
public static boolean useNewFlyoutMenu(boolean useNewFlyout) {
// If using old speed turn off A/B flyout that breaks old playback speed menu.
return useNewFlyout && !Settings.RESTORE_OLD_SPEED_MENU.get();
}
/**
* Injection point.
*/