From a397ce3215697ea95ca8376297644c13c37fe57b Mon Sep 17 00:00:00 2001 From: Dain Nilsson Date: Thu, 7 Mar 2024 09:38:09 +0100 Subject: [PATCH] Set autofocus on field --- lib/otp/views/configure_hotp_dialog.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/otp/views/configure_hotp_dialog.dart b/lib/otp/views/configure_hotp_dialog.dart index c5cf7db8..79f36236 100644 --- a/lib/otp/views/configure_hotp_dialog.dart +++ b/lib/otp/views/configure_hotp_dialog.dart @@ -127,6 +127,7 @@ class _ConfigureHotpDialogState extends ConsumerState { key: keys.secretField, controller: _secretController, obscureText: _isObscure, + autofocus: true, autofillHints: isAndroid ? [] : const [AutofillHints.password], decoration: AppInputDecoration( border: const OutlineInputBorder(),