|
1 | 1 | import 'package:flutter/gestures.dart'; |
2 | 2 | import 'package:flutter/material.dart'; |
| 3 | +import 'package:keevault/config/platform.dart'; |
3 | 4 | import '../generated/l10n.dart'; |
4 | 5 | import 'free_user_dialog.dart'; |
5 | 6 | import 'password_strength.dart'; |
@@ -49,6 +50,8 @@ class _VaultLocalOnlyCreateWidgetState extends State<VaultLocalOnlyCreateWidget> |
49 | 50 | controller: _password, |
50 | 51 | obscureText: password1Obscured, |
51 | 52 | enableSuggestions: false, |
| 53 | + autofillHints: KeeVaultPlatform.isIOS ? [AutofillHints.oneTimeCode] : null, |
| 54 | + spellCheckConfiguration: SpellCheckConfiguration.disabled(), |
52 | 55 | autocorrect: false, |
53 | 56 | decoration: InputDecoration( |
54 | 57 | border: OutlineInputBorder(), |
@@ -86,6 +89,8 @@ class _VaultLocalOnlyCreateWidgetState extends State<VaultLocalOnlyCreateWidget> |
86 | 89 | child: TextFormField( |
87 | 90 | controller: _confirmPassword, |
88 | 91 | obscureText: password2Obscured, |
| 92 | + autofillHints: KeeVaultPlatform.isIOS ? [AutofillHints.oneTimeCode] : null, |
| 93 | + spellCheckConfiguration: SpellCheckConfiguration.disabled(), |
89 | 94 | enableSuggestions: false, |
90 | 95 | autocorrect: false, |
91 | 96 | decoration: InputDecoration( |
|
0 commit comments