use of io.imunity.furms.ui.components.branding.logo.FurmsLogo in project furms by unity-idm.
the class FurmsAppLayoutComponentsHolder method loadLogo.
private void loadLogo() {
final FurmsLogo currentFurmsLogo = logoLoader.get();
logoMenuContainer.getChildren().filter(component -> component instanceof FurmsLogo).findFirst().ifPresentOrElse(logo -> replaceLogo(logo, currentFurmsLogo), () -> logoMenuContainer.addComponentAsFirst(currentFurmsLogo));
}
Aggregations