diff --git a/lib/presentation/widgets/player_selection.dart b/lib/presentation/widgets/player_selection.dart index 00d6c11..ca3566a 100644 --- a/lib/presentation/widgets/player_selection.dart +++ b/lib/presentation/widgets/player_selection.dart @@ -143,9 +143,9 @@ class _PlayerSelectionState extends State { child: TextIconTile( text: player.name, suffixText: getNameCountText(player), - onIconTap: () { - setState(() async { - await HapticFeedback.selectionClick(); + onIconTap: () async { + await HapticFeedback.selectionClick(); + setState(() { // Removes the player from the selection and notifies the parent. selectedPlayers.remove(player); widget.onChanged([...selectedPlayers]);