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(
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]);