From 2a72ee3e12857e211eddb713cc93054464dc2236 Mon Sep 17 00:00:00 2001 From: braniii Date: Mon, 1 Jul 2024 21:46:14 +0200 Subject: [PATCH] Fix broken color of linechart #98 --- CHANGELOG.md | 3 +++ app/lib/pages/overview.dart | 14 -------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 873defd1..f40de139 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Bugfix 🐛: +- Fix broken color of linechart +- Allow adding measurements older than 2 years ## [0.7.0] - 2024-05-29 diff --git a/app/lib/pages/overview.dart b/app/lib/pages/overview.dart index f77c56e4..7b56bc0a 100644 --- a/app/lib/pages/overview.dart +++ b/app/lib/pages/overview.dart @@ -44,19 +44,6 @@ class _OverviewScreen extends State { final int firstDelayInMilliseconds = TraleTheme.of(context)!.transitionDuration.normal.inMilliseconds; - final SizedBox lineChart = SizedBox( - height: MediaQuery.of(context).size.height / 3, - width: MediaQuery.of(context).size.width, - child: Card( - shape: TraleTheme.of(context)!.borderShape, - color: Theme.of(context).colorScheme.surface, - margin: EdgeInsets.symmetric( - horizontal: TraleTheme.of(context)!.padding, - ), - child: CustomLineChart(loadedFirst: loadedFirst) - ), - ); - final Widget dummyChart = emptyChart( context, [ @@ -95,7 +82,6 @@ class _OverviewScreen extends State { width: MediaQuery.of(context).size.width, child: Card( shape: TraleTheme.of(context)!.borderShape, - color: Theme.of(context).colorScheme.surface, margin: EdgeInsets.symmetric( horizontal: TraleTheme.of(context)!.padding, ),