File tree Expand file tree Collapse file tree
src/test/java/com/flowingcode/vaadin/addons Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 * #%L
33 * Upload Helper Add-on
44 * %%
5- * Copyright (C) 2022 - 2024 Flowing Code
5+ * Copyright (C) 2022 - 2026 Flowing Code
66 * %%
77 * Licensed under the Apache License, Version 2.0 (the "License");
88 * you may not use this file except in compliance with the License.
1919 */
2020package com .flowingcode .vaadin .addons ;
2121
22+ import com .flowingcode .vaadin .addons .demo .DynamicTheme ;
2223import com .vaadin .flow .component .page .AppShellConfigurator ;
2324import com .vaadin .flow .component .page .Push ;
25+ import com .vaadin .flow .server .AppShellSettings ;
2426
2527@ SuppressWarnings ("serial" )
2628@ Push
2729public class AppShellConfiguratorImpl implements AppShellConfigurator {
2830
31+ @ Override
32+ public void configurePage (AppShellSettings settings ) {
33+ if (DynamicTheme .isFeatureSupported ()) {
34+ DynamicTheme .LUMO .initialize (settings );
35+ }
36+ }
37+
2938}
You can’t perform that action at this time.
0 commit comments