fix(YouTube - Minimized playback): Fix pip incorrectly showing if app is minimized immediately after opening a Short

This commit is contained in:
LisoUseInAIKyrios 2023-10-14 11:16:41 +03:00
parent cc3c9e78b2
commit 7d02774ea1

View File

@ -5,7 +5,7 @@ import app.revanced.integrations.shared.PlayerType;
public class MinimizedPlaybackPatch {
public static boolean isPlaybackNotShort() {
return !PlayerType.getCurrent().isNoneOrHidden();
return !PlayerType.getCurrent().isNoneHiddenOrSlidingMinimized();
}
public static boolean overrideMinimizedPlaybackAvailable() {