mirror of
https://github.com/revanced/revanced-integrations
synced 2024-11-22 05:02:19 +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 class MinimizedPlaybackPatch {
|
||||||
|
|
||||||
public static boolean isPlaybackNotShort() {
|
public static boolean isPlaybackNotShort() {
|
||||||
return !PlayerType.getCurrent().isNoneOrHidden();
|
return !PlayerType.getCurrent().isNoneHiddenOrSlidingMinimized();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean overrideMinimizedPlaybackAvailable() {
|
public static boolean overrideMinimizedPlaybackAvailable() {
|
||||||
|
Loading…
Reference in New Issue
Block a user