CWA-69 | translated title and content in the openalias alert dialog (send page)

This commit is contained in:
Oleksandr Sobol
2020-02-21 12:45:15 +02:00
parent dde482c4f6
commit 28085ce057
14 changed files with 91 additions and 16 deletions
+3 -3
View File
@@ -30,11 +30,11 @@ Future<Map<String, String>> fetchXmrAddressAndRecipientName(String name) async {
.toString().replaceAll("oa1:xmr recipient_address=", "")
.replaceAll("(", "").replaceAll(")", "").trim();
final recipientName = dataList.where((item) => (item.contains("recipient_name"))).toString();
final recipientName = dataList.where((item) => (item.contains("recipient_name"))).toString()
.replaceAll("(", "").replaceAll(")", "").trim();
if (recipientName.isNotEmpty) {
map["recipient_name"] = recipientName.replaceAll("recipient_name=", "")
.replaceAll("(", "").replaceAll(")", "").trim();
map["recipient_name"] = recipientName.replaceAll("recipient_name=", "");
}
break;