diff --git a/lib/anonpay/anonpay_api.dart b/lib/anonpay/anonpay_api.dart index bc6abc6e2..e46499407 100644 --- a/lib/anonpay/anonpay_api.dart +++ b/lib/anonpay/anonpay_api.dart @@ -182,6 +182,8 @@ class AnonPayApi { switch (currency) { case CryptoCurrency.usdt: return CryptoCurrency.btc.title.toLowerCase(); + case CryptoCurrency.eth: + return 'ERC20'; default: return currency.tag != null ? _normalizeTag(currency.tag!) : 'Mainnet'; } diff --git a/lib/src/screens/receive/anonpay_invoice_page.dart b/lib/src/screens/receive/anonpay_invoice_page.dart index 606383faa..deda679c5 100644 --- a/lib/src/screens/receive/anonpay_invoice_page.dart +++ b/lib/src/screens/receive/anonpay_invoice_page.dart @@ -154,6 +154,7 @@ class AnonPayInvoicePage extends BasePage { ? S.of(context).create_invoice : S.of(context).create_donation_link, onPressed: () { + FocusScope.of(context).unfocus(); anonInvoicePageViewModel.setRequestParams( inputAmount: _amountController.text, inputName: _nameController.text,