mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-01 00:02:55 +01:00
fix(YouTube - Minimized playback): Fix pip incorrectly showing if app is minimized immediately after opening a Short
This commit is contained in:
parent
cc3c9e78b2
commit
7d02774ea1
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user