Teamspiele implementieren #217

Open
flixcoo wants to merge 55 commits from feature/168-teamspiele-implementieren into development
Showing only changes of commit 44c474ae77 - Show all commits

View File

@@ -143,9 +143,9 @@ class _PlayerSelectionState extends State<PlayerSelection> {
child: TextIconTile( child: TextIconTile(
text: player.name, text: player.name,
suffixText: getNameCountText(player), suffixText: getNameCountText(player),
onIconTap: () { onIconTap: () async {
setState(() async { await HapticFeedback.selectionClick();
await HapticFeedback.selectionClick(); setState(() {
// Removes the player from the selection and notifies the parent. // Removes the player from the selection and notifies the parent.
selectedPlayers.remove(player); selectedPlayers.remove(player);
widget.onChanged([...selectedPlayers]); widget.onChanged([...selectedPlayers]);