Skip to content

Commit

Permalink
Set keyboard type as email for recipient field
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cygnet3 committed Sep 11, 2024
1 parent 1e7e654 commit 1b7e6a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/screens/home/wallet/spend/add_recipient.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class AddRecipientWidgetState extends State<AddRecipientWidget> {
children: <Widget>[
TextFormField(
controller: addressController,
keyboardType: TextInputType.emailAddress,
decoration: InputDecoration(
labelText: 'Recipient',
hintText: 'satoshi@bitcoin.org, sp1q..., bc1q...',
Expand Down

0 comments on commit 1b7e6a8

Please sign in to comment.