Fix hidden group issue

This commit is contained in:
Yegor Vialov
2018-10-21 18:52:29 +03:00
parent 30e4496ef1
commit f29762c931

View File

@ -16,7 +16,7 @@ class CardWidget extends StatelessWidget {
final entityModel = EntityModel.of(context);
if (entityModel != null) {
final groupEntity = entityModel.entity;
if (groupEntity.isHidden) {
if ((groupEntity!= null) && (groupEntity.isHidden)) {
return Container(width: 0.0, height: 0.0,);
}
}