Call service state color from theme
This commit is contained in:
parent
0792cae2b1
commit
bfb24b9d11
@ -36,7 +36,6 @@ class DefaultEntityContainer extends StatelessWidget {
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
children: <Widget>[
|
||||
EntityIcon(),
|
||||
|
||||
Flexible(
|
||||
fit: FlexFit.tight,
|
||||
flex: 3,
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user