CAKE-360 | added emoji and extracted address to transaction details
OleksandrSobol committed
Oct 4, 2021 at 17:25 UTC
c650435d8caf68dbed576322462266d844e12825
1 file changed
+3
-1
lib/view_model/send/send_view_model.dart
+3
-1
@@ -155,7 +155,9 @@ abstract class SendViewModelBase with Store {
155
@action
156
Future<void> commitTransaction() async {
157
String address = outputs.fold('', (acc, value) {
158
- return acc + value.address + '\n\n';
158
+ return value.isParsedAddress
159
+ ? acc + value.address + '\n' + value.extractedAddress + '\n\n'
160
+ : acc + value.address + '\n\n';
161
});
162
163
address = address.trim();