Updated function and limited name length to 12

This commit is contained in:
2025-06-29 01:55:45 +02:00
parent defebe64c0
commit 9cf4a6947a
3 changed files with 7 additions and 4 deletions

View File

@@ -183,6 +183,7 @@ class _CreateGameState extends State<CreateGame> {
Expanded(
child: CupertinoTextField(
controller: _playerNameTextControllers[index],
maxLength: 12,
placeholder:
'${AppLocalizations.of(context).player} ${index + 1}',
padding: const EdgeInsets.all(12),