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:
parent
58898b92fe
commit
e52114076e
3 changed files with 27 additions and 1 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue