diff --git a/lib/presentation/views/points_view.dart b/lib/presentation/views/points_view.dart index 555d5bd..4e0cded 100644 --- a/lib/presentation/views/points_view.dart +++ b/lib/presentation/views/points_view.dart @@ -54,14 +54,14 @@ class _PointsViewState extends State { rows: [ ...List.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), ), )),