Fixed problem with player selection
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m7s
Pull Request Pipeline / lint (pull_request) Successful in 2m7s

This commit is contained in:
2025-12-10 12:38:39 +01:00
parent 5d2fed74ac
commit 23cdddfbd9

View File

@@ -197,6 +197,10 @@ class _CreateGameViewState extends State<CreateGameView> {
setState(() {});
},
),
FutureBuilder(
future: _allPlayersFuture,
builder:
(BuildContext context, AsyncSnapshot<dynamic> snapshot) =>
Expanded(
child: PlayerSelection(
key: ValueKey(selectedGroup?.id ?? 'no_group'),
@@ -217,6 +221,7 @@ class _CreateGameViewState extends State<CreateGameView> {
},
),
),
),
CustomWidthButton(
text: 'Create game',
sizeRelativeToWidth: 0.95,