Skip to content

Commit b02f316

Browse files
javier-godoymlopezFC
authored andcommitted
fix: use the correct property name in us/setMenuVisible
Close #74
1 parent 49d9a80 commit b02f316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/flowingcode/addons/applayout/AppLayout.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ public void clearToolbarIconButtons() {
126126
}
127127

128128
public void setMenuVisible(boolean visible) {
129-
this.getElement().setProperty("drawer-visible", visible);
129+
this.getElement().setProperty("drawerVisible", visible);
130130
}
131131

132132
public boolean isMenuVisible() {
133-
return this.getElement().getProperty("drawer-visible", true);
133+
return this.getElement().getProperty("drawerVisible", true);
134134
}
135135

136136
/** Set the toolbar title */

0 commit comments

Comments
 (0)