File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
ponysdk/src/main/java/com/ponysdk/core/ui/basic Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,6 @@ protected void enrichForUpdate(final ModelWriter writer) {
145
145
writer .write (ServerToClientModel .ADD_STYLE_NAME , styleNames .stream ().collect (Collectors .joining (" " )));
146
146
}
147
147
if (this .title != null ) writer .write (ServerToClientModel .WIDGET_TITLE , this .title );
148
- if (!this .visible ) writer .write (ServerToClientModel .WIDGET_VISIBLE , this .visible );
149
148
if (this .height != null ) writer .write (ServerToClientModel .WIDGET_HEIGHT , this .height );
150
149
if (this .width != null ) writer .write (ServerToClientModel .WIDGET_WIDTH , this .width );
151
150
if (this .debugID != null ) writer .write (ServerToClientModel .ENSURE_DEBUG_ID , this .debugID );
@@ -195,7 +194,7 @@ public boolean isVisible() {
195
194
public void setVisible (final boolean visible ) {
196
195
if (Objects .equals (this .visible , visible )) return ;
197
196
this .visible = visible ;
198
- if ( initialized ) saveUpdate (ServerToClientModel .WIDGET_VISIBLE , visible );
197
+ saveUpdate (ServerToClientModel .WIDGET_VISIBLE , visible );
199
198
}
200
199
201
200
public String getWidth () {
You can’t perform that action at this time.
0 commit comments