Commit 0af28457e0dafe418c1c69fdd7c3e7153a5d241b

Authored by 刘宏哲
1 parent 7605ac95

feat(app): update ui

@@ -43,7 +43,7 @@ extension SleepQualityLevelText on SleepQualityLevel { @@ -43,7 +43,7 @@ extension SleepQualityLevelText on SleepQualityLevel {
43 case SleepQualityLevel.poor: 43 case SleepQualityLevel.poor:
44 return 0xFFFF9A6E; 44 return 0xFFFF9A6E;
45 case SleepQualityLevel.unknown: 45 case SleepQualityLevel.unknown:
46 - return 0xFF0F0F11; 46 + return 0xFF7B9BFB;
47 } 47 }
48 } 48 }
49 } 49 }
@@ -815,7 +815,7 @@ class _QualityChartState extends State<_QualityChart> { @@ -815,7 +815,7 @@ class _QualityChartState extends State<_QualityChart> {
815 BarChartRodData( 815 BarChartRodData(
816 toY: (widget.days[i].validQualityScore ?? 0).toDouble(), 816 toY: (widget.days[i].validQualityScore ?? 0).toDouble(),
817 width: _barWidth(widget.compact), 817 width: _barWidth(widget.compact),
818 - color: SleepWeekReportView.blue, 818 + color: Color(widget.days[i].qualityLevel.qualityColorValue),
819 borderRadius: const BorderRadius.vertical( 819 borderRadius: const BorderRadius.vertical(
820 top: Radius.circular(8), 820 top: Radius.circular(8),
821 ), 821 ),