diff --git a/khelo/lib/ui/flow/team/detail/components/primer_progress_bar.dart b/khelo/lib/ui/flow/team/detail/components/primer_progress_bar.dart index a8f7a7b7..022457a8 100644 --- a/khelo/lib/ui/flow/team/detail/components/primer_progress_bar.dart +++ b/khelo/lib/ui/flow/team/detail/components/primer_progress_bar.dart @@ -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, ), ], ), diff --git a/khelo/lib/ui/flow/team/detail/components/team_detail_stat_content.dart b/khelo/lib/ui/flow/team/detail/components/team_detail_stat_content.dart index 56970704..4d504467 100644 --- a/khelo/lib/ui/flow/team/detail/components/team_detail_stat_content.dart +++ b/khelo/lib/ui/flow/team/detail/components/team_detail_stat_content.dart @@ -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), ),