This commit is contained in:
wyf
2025-11-14 12:01:07 +08:00
parent 776275aa3d
commit 7e44998240
24 changed files with 409 additions and 187 deletions

View File

@@ -99,7 +99,10 @@ class _SleepCardState extends State<SleepCard> with TickerProviderStateMixin {
}
}
int num = AppLanguage().isChinese() ? 3 : 2;
List data = widget.sleepReport['bs'] ?? [];
// List data = widget.sleepReport['bs'] ?? [];
List data = (widget.sleepReport['bs'] ?? [])
.where((item) => item['show'] != false)
.toList();
return Container(
width: double.infinity,