diff --git a/lib/presentation/views/main_menu/create_group_view.dart b/lib/presentation/views/main_menu/create_group_view.dart index c32986a..28566f6 100644 --- a/lib/presentation/views/main_menu/create_group_view.dart +++ b/lib/presentation/views/main_menu/create_group_view.dart @@ -70,7 +70,6 @@ class _CreateGroupViewState extends State { ), Expanded( child: PlayerSelection( - groupNameController: _groupNameController, searchBarController: _searchBarController, onChanged: (value) { selectedPlayers = [...value]; diff --git a/lib/presentation/widgets/player_selection.dart b/lib/presentation/widgets/player_selection.dart index 3032c06..c6b2f1a 100644 --- a/lib/presentation/widgets/player_selection.dart +++ b/lib/presentation/widgets/player_selection.dart @@ -10,13 +10,11 @@ import 'package:provider/provider.dart'; import 'package:skeletonizer/skeletonizer.dart'; class PlayerSelection extends StatefulWidget { - final TextEditingController groupNameController; final TextEditingController searchBarController; final Function(List value) onChanged; const PlayerSelection({ super.key, - required this.groupNameController, required this.searchBarController, required this.onChanged, });