Fixed problem with player selection
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user