Skip to content

Commit dcaa58b

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

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
@@ -128,11 +128,11 @@ public void clearToolbarIconButtons() {
128128
}
129129

130130
public void setMenuVisible(boolean visible) {
131-
this.getElement().setProperty("drawer-visible", visible);
131+
this.getElement().setProperty("drawerVisible", visible);
132132
}
133133

134134
public boolean isMenuVisible() {
135-
return this.getElement().getProperty("drawer-visible", true);
135+
return this.getElement().getProperty("drawerVisible", true);
136136
}
137137

138138
/** Set the toolbar title */

0 commit comments

Comments
 (0)