更新睡眠的心率基准图不显示
This commit is contained in:
@@ -43,7 +43,7 @@ class _MessageSettingPageState extends State<MessageSettingPage> {
|
||||
requestWithLog(
|
||||
logTitle: "查询用户消息配置",
|
||||
method: MyHttpMethod.get,
|
||||
queryUrl: queryUrl,
|
||||
queryUrl: queryUrl,
|
||||
onSuccess: (res) {
|
||||
if (res.data == null || res.data.isEmpty) {
|
||||
var data = {
|
||||
@@ -169,7 +169,6 @@ class _MessageSettingPageState extends State<MessageSettingPage> {
|
||||
print(res);
|
||||
},
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -181,7 +180,7 @@ class _MessageSettingPageState extends State<MessageSettingPage> {
|
||||
Widget build(BuildContext context) {
|
||||
return LayoutBuilder(
|
||||
builder: (context, bodysize) => GestureDetector(
|
||||
onTap: () => FocusScope.of(context).unfocus(),
|
||||
// onTap: () => FocusScope.of(context).unfocus(),,
|
||||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
image: DecorationImage(
|
||||
@@ -442,7 +441,9 @@ class _MessageSettingPageState extends State<MessageSettingPage> {
|
||||
],
|
||||
),
|
||||
Text(
|
||||
AppConstants().ent_type == 1? "APP消息介绍".tr:"打开“欢睡科技”APP,可以查看该设备的消息内容",
|
||||
AppConstants().ent_type == 1
|
||||
? "APP消息介绍".tr
|
||||
: "打开“欢睡科技”APP,可以查看该设备的消息内容",
|
||||
style: TextStyle(
|
||||
color: themeController.currentColor.sc4,
|
||||
fontSize: AppConstants()
|
||||
@@ -548,7 +549,9 @@ class _MessageSettingPageState extends State<MessageSettingPage> {
|
||||
],
|
||||
),
|
||||
Text(
|
||||
AppConstants().ent_type == 1? "服务号消息介绍".tr:"无需打开“欢睡科技”APP,关注欢睡智能睡眠研究所服务号后,微信内即可接收该设备消息推送",
|
||||
AppConstants().ent_type == 1
|
||||
? "服务号消息介绍".tr
|
||||
: "无需打开“欢睡科技”APP,关注欢睡智能睡眠研究所服务号后,微信内即可接收该设备消息推送",
|
||||
style: TextStyle(
|
||||
color: themeController.currentColor.sc4,
|
||||
fontSize: AppConstants()
|
||||
|
||||
Reference in New Issue
Block a user