CWA-69 | added focusNode to address_text_field, got recipient name in the openalias, added focusNode listener in the send_page

This commit is contained in:
Oleksandr Sobol
2020-02-20 23:02:41 +02:00
parent 91091a8d19
commit dde482c4f6
2 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class SendFormState extends State<SendForm> {
@override
void initState() {
_focusNode.addListener(() async {
if (_addressController.text.isNotEmpty) {
if (!_focusNode.hasFocus &&_addressController.text.isNotEmpty) {
await fetchXmrAddressAndRecipientName(formatDomainName(_addressController.text)).then((map) async {
if (_addressController.text != map["recipient_address"]) {