Resolves #365 Fix missed group entities

This commit is contained in:
estevez-dev 2019-10-14 13:39:00 +03:00
parent f88e6f9b61
commit 2f110b20bb

View File

@ -134,7 +134,6 @@ class CardWidget extends StatelessWidget {
List<Widget> body = []; List<Widget> body = [];
body.add(CardHeader(name: card.name)); body.add(CardHeader(name: card.name));
entitiesToShow.forEach((EntityWrapper entity) { entitiesToShow.forEach((EntityWrapper entity) {
if (!entity.entity.isHidden) {
body.add( body.add(
Padding( Padding(
padding: EdgeInsets.fromLTRB(0.0, 4.0, 0.0, 4.0), padding: EdgeInsets.fromLTRB(0.0, 4.0, 0.0, 4.0),
@ -144,7 +143,6 @@ class CardWidget extends StatelessWidget {
child: entity.entity.buildDefaultWidget(context) child: entity.entity.buildDefaultWidget(context)
), ),
)); ));
}
}); });
return Card( return Card(
child: Padding( child: Padding(