Fixed keyboard bug

This commit is contained in:
2025-07-31 22:45:31 +02:00
parent 3debe3d88e
commit 7fd5fab8c0
2 changed files with 5 additions and 3 deletions

View File

@@ -289,7 +289,6 @@ class _CreateGameViewState extends State<CreateGameView> {
Padding(
padding: const EdgeInsets.fromLTRB(0, 0, 0, 50),
child: Center(
key: const ValueKey('create_game_button'),
child: CustomButton(
child: Text(
AppLocalizations.of(context).create_game,
@@ -298,7 +297,10 @@ class _CreateGameViewState extends State<CreateGameView> {
),
),
onPressed: () {
_checkAllGameAttributes();
FocusScope.of(context).unfocus();
Future.delayed(const Duration(milliseconds: 300), () {
_checkAllGameAttributes();
});
},
),
),

View File

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