更新
This commit is contained in:
@@ -154,7 +154,7 @@ class _NewSleepViewWidgetState extends State<NewSleepViewWidget> {
|
||||
Container(
|
||||
alignment: Alignment(-1, 0),
|
||||
child: Text(
|
||||
"在床时长 ${formatDecimalHoursWithTr(matched['value'])}",
|
||||
"在床时长".tr + " ${formatDecimalHoursWithTr(matched['value'])}",
|
||||
style: TextStyle(color: Color(0xFF929699), fontSize: 20.rpx),
|
||||
),
|
||||
),
|
||||
@@ -258,7 +258,7 @@ class _NewSleepViewWidgetState extends State<NewSleepViewWidget> {
|
||||
onPressed: () {
|
||||
MHTHomeController homeController = Get.find();
|
||||
Get.toNamed("/newSleepReportPage", arguments: {
|
||||
'date': widget.sleepReport['startTime'],
|
||||
'date': widget.sleepReport['endTime'],
|
||||
"mac": homeController.selectDevcie.value,
|
||||
'type': 1,
|
||||
'backgroundImg': 'assets/images/new_background.png',
|
||||
|
||||
Reference in New Issue
Block a user