From c155d8c5cadec5cadda27d925dfa7472d2d84b6f Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Sat, 12 Jul 2025 20:46:32 +0200 Subject: [PATCH] HOTFIX: Graph showed wrong data --- lib/presentation/views/graph_view.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/presentation/views/graph_view.dart b/lib/presentation/views/graph_view.dart index 7736bb1..e9ed4d1 100644 --- a/lib/presentation/views/graph_view.dart +++ b/lib/presentation/views/graph_view.dart @@ -77,7 +77,7 @@ class _GraphViewState extends State { for (var round in rounds) { for (int i = 0; i < playerCount; i++) { - runningTotals[i] += round.scores[i]; + runningTotals[i] += round.scoreUpdates[i]; cumulativeScores[i].add(runningTotals[i]); } } diff --git a/pubspec.yaml b/pubspec.yaml index ab51129..2f82cdf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: cabo_counter description: "Mobile app for the card game Cabo" publish_to: 'none' -version: 0.4.3+477 +version: 0.4.3+479 environment: sdk: ^3.5.4