Skip to content

Commit f2e50a5

Browse files
committed
fix(bdk-demo): disable keyboard suggestions on sensitive recovery fields
1 parent b02ccc1 commit f2e50a5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

bdk_demo/lib/features/wallet_setup/recover_wallet_page.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ class _RecoverWalletPageState extends ConsumerState<RecoverWalletPage>
248248
),
249249
minLines: 3,
250250
maxLines: 5,
251+
autocorrect: false,
252+
enableSuggestions: false,
251253
textInputAction: TextInputAction.newline,
252254
onChanged: (_) => setState(() {}),
253255
),
@@ -302,6 +304,8 @@ class _RecoverWalletPageState extends ConsumerState<RecoverWalletPage>
302304
),
303305
minLines: 2,
304306
maxLines: 4,
307+
autocorrect: false,
308+
enableSuggestions: false,
305309
textInputAction: TextInputAction.next,
306310
onChanged: (_) => setState(() {}),
307311
),
@@ -315,6 +319,8 @@ class _RecoverWalletPageState extends ConsumerState<RecoverWalletPage>
315319
),
316320
minLines: 2,
317321
maxLines: 4,
322+
autocorrect: false,
323+
enableSuggestions: false,
318324
textInputAction: TextInputAction.newline,
319325
onChanged: (_) => setState(() {}),
320326
),

0 commit comments

Comments
 (0)