add autofocus on gram input field

This commit is contained in:
Cyanose 2023-08-03 13:19:58 +02:00
parent 4843215569
commit 66404b3aff

View file

@ -133,6 +133,7 @@ class _AddEntryScreen extends State<AddEntryScreen> {
],
controller: gramsController,
onFieldSubmitted: (_) => _addEntry(),
autofocus: true,
),
TextFormField(
decoration: const InputDecoration(