From 1b7e6a8abbfed29f13780e041fbf0334a99a7485 Mon Sep 17 00:00:00 2001 From: cygnet Date: Wed, 11 Sep 2024 22:18:18 +0200 Subject: [PATCH] Set keyboard type as email for recipient field Recipient will be either a bitcoin address (pasted from clipboard), or a BIP353 style address. In the latter case, an email keyboard would be more useful. --- lib/screens/home/wallet/spend/add_recipient.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/screens/home/wallet/spend/add_recipient.dart b/lib/screens/home/wallet/spend/add_recipient.dart index 38b73cf..b7ec77a 100644 --- a/lib/screens/home/wallet/spend/add_recipient.dart +++ b/lib/screens/home/wallet/spend/add_recipient.dart @@ -30,6 +30,7 @@ class AddRecipientWidgetState extends State { children: [ TextFormField( controller: addressController, + keyboardType: TextInputType.emailAddress, decoration: InputDecoration( labelText: 'Recipient', hintText: 'satoshi@bitcoin.org, sp1q..., bc1q...',