minor fix

This commit is contained in:
estevez-dev 2020-08-25 13:17:35 +03:00
parent 19325b5b7f
commit 8a1f539668

View File

@ -98,11 +98,10 @@ class EntityIcon extends StatelessWidget {
(entityWrapper.entity as LightEntity).color.toColor() != Colors.white
) {
Color lightColor = (entityWrapper.entity as LightEntity).color.toColor();
const iconCodeConst = const iconCode;
iconWidget = Stack(
children: <Widget>[
Icon(
const IconData(iconCodeConst, fontFamily: 'Material Design Icons'),
IconData(iconCodeConst, fontFamily: 'Material Design Icons'),
size: size,
color: iconColor,
),