mnemonic field crashes fix

This commit is contained in:
julian 2022-12-30 10:14:20 -06:00
parent 0d43dd594a
commit dfb452de33

View file

@ -736,6 +736,8 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
child: Column( child: Column(
children: [ children: [
TextFormField( TextFormField(
autocorrect: !isDesktop,
enableSuggestions: !isDesktop,
textCapitalization: textCapitalization:
TextCapitalization.none, TextCapitalization.none,
key: Key( key: Key(
@ -831,6 +833,8 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
child: Column( child: Column(
children: [ children: [
TextFormField( TextFormField(
autocorrect: !isDesktop,
enableSuggestions: !isDesktop,
textCapitalization: textCapitalization:
TextCapitalization.none, TextCapitalization.none,
key: Key( key: Key(
@ -954,6 +958,8 @@ class _RestoreWalletViewState extends ConsumerState<RestoreWalletView> {
padding: padding:
const EdgeInsets.symmetric(vertical: 4), const EdgeInsets.symmetric(vertical: 4),
child: TextFormField( child: TextFormField(
autocorrect: !isDesktop,
enableSuggestions: !isDesktop,
textCapitalization: textCapitalization:
TextCapitalization.none, TextCapitalization.none,
key: Key("restoreMnemonicFormField_$i"), key: Key("restoreMnemonicFormField_$i"),