Resolves #314 card icon priority

This commit is contained in:
estevez-dev
2019-03-13 22:12:01 +02:00
parent fb456878bc
commit 8b28bb2e9e
3 changed files with 13 additions and 7 deletions

View File

@ -27,7 +27,7 @@ class EntityIcon extends StatelessWidget {
if (data == null) {
return null;
}
if (data.entity.entityPicture != null) {
if (data.entityPicture != null) {
return Container(
height: size+12,
width: size+12,
@ -36,7 +36,7 @@ class EntityIcon extends StatelessWidget {
image: DecorationImage(
fit:BoxFit.cover,
image: CachedNetworkImageProvider(
"${data.entity.entityPicture}"
"${data.entityPicture}"
),
)
),