Updated round index

This commit is contained in:
2025-07-19 15:56:48 +02:00
parent 12b4d3d741
commit 65d44ac7b1

View File

@@ -54,14 +54,14 @@ class _PointsViewState extends State<PointsView> {
rows: [
...List<DataRow>.generate(
widget.gameSession.roundList.length,
(roundNumber) {
final round = widget.gameSession.roundList[roundNumber];
(roundIndex) {
final round = widget.gameSession.roundList[roundIndex];
return DataRow(
cells: [
DataCell(Align(
alignment: Alignment.center,
child: Text(
'$roundNumber',
'${roundIndex + 1}',
style: const TextStyle(fontSize: 20),
),
)),