Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
fix(YouTube): rename Enable minimized playback patch to `Remove bac…
Browse files Browse the repository at this point in the history
…kground playback restrictions`
  • Loading branch information
inotia00 authored and anddea committed Jun 14, 2024
1 parent 72cc6e2 commit b3e0c9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import app.revanced.integrations.youtube.shared.PlayerType;

@SuppressWarnings("unused")
public class MinimizedPlaybackPatch {
public class BackgroundPlaybackPatch {

public static boolean isPlaybackNotShort() {
public static boolean playbackIsNotShort() {
return !PlayerType.getCurrent().isNoneHiddenOrSlidingMinimized();
}

Expand Down

0 comments on commit b3e0c9f

Please sign in to comment.