Updated extra player count

This commit is contained in:
2026-01-18 00:14:45 +01:00
parent 8fe01c332e
commit 7faf80de03

View File

@@ -144,7 +144,7 @@ class _MatchProfileViewState extends State<MatchProfileView> {
const Icon(Icons.group),
const SizedBox(width: 8),
Text(
'${widget.match.group!.name} ${extraPlayersCount > 0 ? '+ $extraPlayersCount' : ''}',
'${widget.match.group!.name} ${widget.match.players != null ? '+ ${widget.match.players!.length}' : ''}',
style: const TextStyle(fontWeight: FontWeight.bold),
),
],