Search in sources :

Example 1 with FurmsLogo

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));
}
Also used : FurmsLogo(io.imunity.furms.ui.components.branding.logo.FurmsLogo)

Aggregations

FurmsLogo (io.imunity.furms.ui.components.branding.logo.FurmsLogo)1