Fix missed entity picture

This commit is contained in:
Yegor Vialov 2020-04-29 20:04:59 +00:00
parent a85fb3d03b
commit 0792cae2b1

View File

@ -42,7 +42,7 @@ class EntityIcon extends StatelessWidget {
) )
), ),
); );
} } else {
String iconName = data.icon; String iconName = data.icon;
int iconCode = 0; int iconCode = 0;
if (iconName.length > 0) { if (iconName.length > 0) {
@ -89,6 +89,7 @@ class EntityIcon extends StatelessWidget {
], ],
); );
} }
}
return result; return result;
} }