Skip to content

Commit

Permalink
Merge pull request #37 from canopas/Mayank/minor-changes
Browse files Browse the repository at this point in the history
Minor changes
  • Loading branch information
cp-mayank authored Jun 6, 2024
2 parents b552704 + 298dd3a commit f7de297
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,20 @@ class PrimerProgressBar extends StatelessWidget {
_progressBarSegment(
color: context.colorScheme.positive,
count: status.win,
isStartRadius: true,
isStartRadius: status.win != 0,
isEndRadius: status.tie == 0 && status.lost == 0,
),
_progressBarSegment(
color: context.colorScheme.secondary,
count: status.tie,
isStartRadius: status.win == 0,
isEndRadius: status.lost == 0,
),
_progressBarSegment(
color: context.colorScheme.alert,
count: status.lost,
isEndRadius: true,
isEndRadius: status.lost != 0,
isStartRadius: status.win == 0 && status.tie == 0,
),
],
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class TeamDetailStatContent extends ConsumerWidget {
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'$playedMatches ${context.l10n.team_detail_match_title(playedMatches)}',
context.l10n.team_detail_match_title(playedMatches),
style: AppTextStyle.header2
.copyWith(color: context.colorScheme.textPrimary),
),
Expand Down

0 comments on commit f7de297

Please sign in to comment.