forked from ReVanced/revanced-integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
disable-auto-player-popup-panels
patch (ReVanced#145)
- Loading branch information
OxrxL
committed
Sep 21, 2022
1 parent
ba22e3b
commit 3fd6df8
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
app/src/main/java/app/revanced/integrations/patches/DisablePlayerPopupPanelsPatch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package app.revanced.integrations.patches; | ||
|
||
import app.revanced.integrations.settings.SettingsEnum; | ||
|
||
public class DisablePlayerPopupPanelsPatch { | ||
//Used by app.revanced.patches.youtube.layout.playerpopuppanels.patch.PlayerPopupPanelsPatch | ||
public static boolean disablePlayerPopupPanels() { | ||
return SettingsEnum.PLAYER_POPUP_PANELS.getBoolean(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters