mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-02 15:44:37 +02:00
fix build error
This commit is contained in:
parent
1424d0b7a7
commit
07cb38d7a2
@ -27,8 +27,22 @@ public class SwipeControlsPatch {
|
|||||||
/**
|
/**
|
||||||
* Injection point.
|
* Injection point.
|
||||||
*/
|
*/
|
||||||
public static boolean disableWatchPanelGestures() {
|
public static boolean disableSwipeToEnterFullscreenModeBelowThePlayer() {
|
||||||
return !Settings.DISABLE_WATCH_PANEL_GESTURES.get();
|
return !Settings.DISABLE_SWIPE_TO_ENTER_FULLSCREEN_MODE_BELOW_THE_PLAYER.get();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Injection point.
|
||||||
|
*/
|
||||||
|
public static boolean disableSwipeToEnterFullscreenModeInThePlayer(boolean original) {
|
||||||
|
return !Settings.DISABLE_SWIPE_TO_ENTER_FULLSCREEN_MODE_IN_THE_PLAYER.get() && original;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Injection point.
|
||||||
|
*/
|
||||||
|
public static boolean disableSwipeToExitFullscreenMode(boolean original) {
|
||||||
|
return !Settings.DISABLE_SWIPE_TO_EXIT_FULLSCREEN_MODE.get() && original;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user