1
0
forked from Clones/Controlify

compatibility for tab nav bars in every screen

This commit is contained in:
isXander
2023-03-15 19:28:02 +00:00
parent e1462a4f6b
commit 91dc8c629a
9 changed files with 53 additions and 82 deletions

View File

@ -72,6 +72,10 @@ public class Controlify implements ControlifyApi {
}
}
if (Controller.CONTROLLERS.isEmpty()) {
LOGGER.info("No controllers found.");
}
if (currentController() == Controller.DUMMY && config().isFirstLaunch()) {
this.setCurrentController(Controller.CONTROLLERS.values().stream().findFirst().orElse(null));
}