Call service state color from theme

This commit is contained in:
Yegor Vialov 2020-04-29 20:11:37 +00:00
parent 0792cae2b1
commit bfb24b9d11
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ class DefaultEntityContainer extends StatelessWidget {
mainAxisSize: MainAxisSize.max,
children: <Widget>[
EntityIcon(),
Flexible(
fit: FlexFit.tight,
flex: 3,

View File

@ -27,7 +27,7 @@ class SimpleEntityState extends StatelessWidget {
tStyle = textStyle;
} else if (entityModel.entityWrapper.entity.statelessType == StatelessEntityType.callService) {
tStyle = Theme.of(context).textTheme.subhead.copyWith(
color: Colors.blue
color: HAClientTheme().getLinkTextStyle(context).color
);
} else {
tStyle = Theme.of(context).textTheme.body1;