From f29762c9314729a7e50fb5069d348a5bc68ffd72 Mon Sep 17 00:00:00 2001 From: Yegor Vialov Date: Sun, 21 Oct 2018 18:52:29 +0300 Subject: [PATCH] Fix hidden group issue --- lib/card_class.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/card_class.dart b/lib/card_class.dart index bbd3bf6..3b608eb 100644 --- a/lib/card_class.dart +++ b/lib/card_class.dart @@ -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,); } }