fix(YouTube - Shorts autoplay): Shorts do not autoplay when using older app targets

Co-authored-by: LisoUseInAIKyrios <118716522+lisouseinaikyrios@users.noreply.github.com>
This commit is contained in:
oSumAtrIX 2026-03-19 18:52:20 +01:00
parent cc019ec78b
commit 9b66637a58
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -101,8 +101,8 @@ public class ShortsAutoplayPatch {
}
ShortsLoopBehavior autoPlayBehavior = IS_21_10_OR_GREATER
? ShortsLoopBehavior.SINGLE_PLAY
: ShortsLoopBehavior.AUTO_ADVANCE;
? ShortsLoopBehavior.AUTO_ADVANCE
: ShortsLoopBehavior.SINGLE_PLAY;
Enum<?> overrideBehavior = (autoplay
? autoPlayBehavior