更新样式
This commit is contained in:
@@ -895,8 +895,12 @@ class _DeviceDataComponentWidgetState extends State<DeviceDataComponentWidget> {
|
||||
text: getBedStatus(widget
|
||||
.device['status']['inBed']), // 状态部分
|
||||
style: TextStyle(
|
||||
color: themeController.currentColor
|
||||
.sc2, // 同样颜色,也可改成其他颜色
|
||||
color: widget.device['status']
|
||||
['inBed'] ==
|
||||
1
|
||||
? themeController.currentColor.sc2
|
||||
: themeController.currentColor
|
||||
.sc9, // 同样颜色,也可改成其他颜色
|
||||
fontSize: AppConstants()
|
||||
.title_text_fontSize,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user