Browse Source

feat(neon): specify autofillHint on login url field

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/982/head
Nikolas Rimikis 1 year ago
parent
commit
d3c0010eae
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 1
      packages/neon/neon/lib/src/pages/login.dart

1
packages/neon/neon/lib/src/pages/login.dart

@ -101,6 +101,7 @@ class _LoginPageState extends State<LoginPage> {
keyboardType: TextInputType.url, keyboardType: TextInputType.url,
validator: (final input) => validateHttpUrl(context, input), validator: (final input) => validateHttpUrl(context, input),
onFieldSubmitted: login, onFieldSubmitted: login,
autofillHints: const [AutofillHints.url],
), ),
), ),
if (NeonPlatform.instance.canUseCamera) ...[ if (NeonPlatform.instance.canUseCamera) ...[

Loading…
Cancel
Save