From a3226311a2d7cb30314995fde492f58cffde1894 Mon Sep 17 00:00:00 2001 From: Yegor Vialov Date: Fri, 14 Dec 2018 16:31:41 +0200 Subject: [PATCH] Fix default tap actions --- lib/entity_class/entity_wrapper.class.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/entity_class/entity_wrapper.class.dart b/lib/entity_class/entity_wrapper.class.dart index 4ea0953..983dc4b 100644 --- a/lib/entity_class/entity_wrapper.class.dart +++ b/lib/entity_class/entity_wrapper.class.dart @@ -16,6 +16,9 @@ class EntityWrapper { }) { this.icon = icon ?? entity.icon; this.displayName = displayName ?? entity.displayName; + if (this.uiAction == null) { + this.uiAction = EntityUIAction(); + } } void handleTap() {