修复眠花糖设置闹钟无效
This commit is contained in:
@@ -58,7 +58,7 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
|
||||
},
|
||||
onLoadResource: (controller, resource) {
|
||||
// sourceTime = web.requestTimestamp;
|
||||
// ef.log("[请求资源时间]${web.requestTimestamp}");`
|
||||
// ef.log("[请求资源时间]${web.requestTimestamp}");
|
||||
// _startMonitoringIfNeeded();
|
||||
},
|
||||
),
|
||||
@@ -216,7 +216,7 @@ class WebviewTestController extends GetControllerEx<WebviewTestModel> {
|
||||
ef.log('更新睡眠习惯: $args[0]');
|
||||
try {
|
||||
MHTBlueToothController blueToothController = Get.find();
|
||||
await blueToothController.saveHabitData(args[0]);
|
||||
return await blueToothController.saveHabitData(args[0]);
|
||||
} catch (e) {
|
||||
ef.log("[更新睡眠习惯失败]:$e");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user