minor fix
This commit is contained in:
parent
19325b5b7f
commit
8a1f539668
@ -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,
|
||||
),
|
||||
|
Reference in New Issue
Block a user