HOTFIX: Graph showed wrong data

This commit is contained in:
2025-07-12 20:46:32 +02:00
parent c11adac140
commit c155d8c5ca
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ class _GraphViewState extends State<GraphView> {
for (var round in rounds) { for (var round in rounds) {
for (int i = 0; i < playerCount; i++) { for (int i = 0; i < playerCount; i++) {
runningTotals[i] += round.scores[i]; runningTotals[i] += round.scoreUpdates[i];
cumulativeScores[i].add(runningTotals[i]); cumulativeScores[i].add(runningTotals[i]);
} }
} }

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile app for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.4.3+477 version: 0.4.3+479
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4