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,
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
EntityIcon(),
|
EntityIcon(),
|
||||||
|
|
||||||
Flexible(
|
Flexible(
|
||||||
fit: FlexFit.tight,
|
fit: FlexFit.tight,
|
||||||
flex: 3,
|
flex: 3,
|
||||||
|
@ -27,7 +27,7 @@ class SimpleEntityState extends StatelessWidget {
|
|||||||
tStyle = textStyle;
|
tStyle = textStyle;
|
||||||
} else if (entityModel.entityWrapper.entity.statelessType == StatelessEntityType.callService) {
|
} else if (entityModel.entityWrapper.entity.statelessType == StatelessEntityType.callService) {
|
||||||
tStyle = Theme.of(context).textTheme.subhead.copyWith(
|
tStyle = Theme.of(context).textTheme.subhead.copyWith(
|
||||||
color: Colors.blue
|
color: HAClientTheme().getLinkTextStyle(context).color
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
tStyle = Theme.of(context).textTheme.body1;
|
tStyle = Theme.of(context).textTheme.body1;
|
||||||
|
Reference in New Issue
Block a user