CAKE-360 | added emoji and extracted address to transaction details

This commit is contained in:
OleksandrSobol 2021-10-04 17:25:27 +03:00
parent c728931b70
commit c650435d8c

View file

@ -155,7 +155,9 @@ abstract class SendViewModelBase with Store {
@action @action
Future<void> commitTransaction() async { Future<void> commitTransaction() async {
String address = outputs.fold('', (acc, value) { String address = outputs.fold('', (acc, value) {
return acc + value.address + '\n\n'; return value.isParsedAddress
? acc + value.address + '\n' + value.extractedAddress + '\n\n'
: acc + value.address + '\n\n';
}); });
address = address.trim(); address = address.trim();