forked from Clones/Controlify
compatibility for tab nav bars in every screen
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user