game names now can have up to 20 chars

This commit is contained in:
2025-07-20 23:47:18 +02:00
parent feff54fd65
commit 1e40b41e26
3 changed files with 6 additions and 3 deletions

View File

@@ -49,7 +49,10 @@ class _ActiveGameViewState extends State<ActiveGameView> {
gameSession.playerScores, sortedPlayerIndices); gameSession.playerScores, sortedPlayerIndices);
return CupertinoPageScaffold( return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar( navigationBar: CupertinoNavigationBar(
middle: Text(gameSession.gameTitle), middle: Text(
gameSession.gameTitle,
overflow: TextOverflow.ellipsis,
),
), ),
child: SafeArea( child: SafeArea(
child: SingleChildScrollView( child: SingleChildScrollView(

View File

@@ -94,7 +94,7 @@ class _CreateGameViewState extends State<CreateGameView> {
padding: const EdgeInsets.fromLTRB(15, 10, 10, 0), padding: const EdgeInsets.fromLTRB(15, 10, 10, 0),
child: CupertinoTextField( child: CupertinoTextField(
decoration: const BoxDecoration(), decoration: const BoxDecoration(),
maxLength: 16, maxLength: 20,
prefix: Text(AppLocalizations.of(context).name), prefix: Text(AppLocalizations.of(context).name),
textAlign: TextAlign.right, textAlign: TextAlign.right,
placeholder: AppLocalizations.of(context).game_title, placeholder: AppLocalizations.of(context).game_title,

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo" description: "Mobile app for the card game Cabo"
publish_to: 'none' publish_to: 'none'
version: 0.5.2+581 version: 0.5.2+582
environment: environment:
sdk: ^3.5.4 sdk: ^3.5.4