This commit is contained in:
@@ -69,8 +69,8 @@ private fun getPoints(rounds: List<Round>): Pair<List<FloatEntry>, List<FloatEnt
|
|||||||
rounds.forEachIndexed { index, round ->
|
rounds.forEachIndexed { index, round ->
|
||||||
sumA += round.scoreA
|
sumA += round.scoreA
|
||||||
sumB += round.scoreB
|
sumB += round.scoreB
|
||||||
a.add(FloatEntry(index.toFloat(), sumA.toFloat()))
|
a.add(FloatEntry((index + 1).toFloat(), sumA.toFloat()))
|
||||||
b.add(FloatEntry(index.toFloat(), sumB.toFloat()))
|
b.add(FloatEntry((index + 1).toFloat(), sumB.toFloat()))
|
||||||
}
|
}
|
||||||
return Pair(a, b)
|
return Pair(a, b)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user