File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
src/main/java/com/flowingcode/addons/applayout Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 2626import com .vaadin .flow .component .dependency .NpmPackage ;
2727import com .vaadin .flow .component .html .Div ;
2828import com .vaadin .flow .component .html .Image ;
29- import com .vaadin .flow .server .InitialPageSettings ;
30- import com .vaadin .flow .server .PageConfigurator ;
3129import java .util .ArrayList ;
3230import java .util .Arrays ;
3331import java .util .List ;
4240@ JsModule ("@flowingcode/fc-applayout/fc-applayout.js" )
4341@ NpmPackage (value = "@flowingcode/fc-applayout" , version = "0.9.3" )
4442@ CssImport (value = "./styles/applayout-styles.css" , themeFor = "fc-applayout" )
45- public class AppLayout extends Div implements PageConfigurator {
43+ public class AppLayout extends Div {
4644
4745 private final List <Component > menuItems = new ArrayList <>();
4846 private final List <Component > toolbarComponents = new ArrayList <>();
@@ -125,11 +123,6 @@ public void setCaption(String caption) {
125123 this .getElement ().setAttribute ("title" , caption );
126124 }
127125
128- @ Override
129- public void configurePage (InitialPageSettings settings ) {
130- settings .addMetaTag ("viewport" , "width=device-width, initial-scale=1.0" );
131- }
132-
133126 /** Mantains the header fixed at the top so it never moves away. */
134127 public void setFixed (boolean fixed ) {
135128 this .getElement ().setAttribute ("fixed" , fixed );
You can’t perform that action at this time.
0 commit comments