Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-mayank committed Nov 7, 2024
1 parent fc6ec28 commit 2ac1a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lib/api/match/match_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ extension TeamStatExtension on List<MatchModel> {
wickets += team.wicket;

battingAverageTotal +=
team.wicket > 0 ? team.run / team.wicket : team.run;
opponentTeam.wicket > 0 ? team.run / opponentTeam.wicket : 0;
if (team.wicket > 0) {
bowlingAverageTotal += opponentTeam.run / team.wicket;
}
Expand Down

0 comments on commit 2ac1a46

Please sign in to comment.