更新日报图标说明
This commit is contained in:
@@ -53,10 +53,8 @@ class _SleepViewWidgetState extends State<SleepViewWidget> {
|
|||||||
List lightSnore = widget.sleepReport['ssp']['data'][0];
|
List lightSnore = widget.sleepReport['ssp']['data'][0];
|
||||||
List heavySnore = widget.sleepReport['ssp']['data'][1];
|
List heavySnore = widget.sleepReport['ssp']['data'][1];
|
||||||
|
|
||||||
|
|
||||||
snoreValues = [...lightSnore, ...heavySnore];
|
snoreValues = [...lightSnore, ...heavySnore];
|
||||||
|
|
||||||
|
|
||||||
snoreValues.sort((a, b) {
|
snoreValues.sort((a, b) {
|
||||||
return a['st'].compareTo(b['st']);
|
return a['st'].compareTo(b['st']);
|
||||||
});
|
});
|
||||||
@@ -173,7 +171,7 @@ class _SleepViewWidgetState extends State<SleepViewWidget> {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
height: 43.rpx,
|
height: 20.rpx,
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user