fix build error

This commit is contained in:
inotia00 2025-01-03 22:07:03 +09:00
parent 1424d0b7a7
commit 07cb38d7a2

View File

@ -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;
} }
/** /**