CAKE-359 | fixed yat_record.dart for multiple addresses in yat; fixed ParsedAddress class; applied ParsedAddress in the parse_address_from_domain_alert.dart; added parsedAddress and renamed applyOpenaliasOrUnstoppableDomains() to fetchParsedAddress() in the output.dart; fixed send_page.dart, send_card.dart and exchange_page.dart; added choose_yat_address_alert.dart to the app; added current wallet address to request parameters in the yat_alert.dart

This commit is contained in:
OleksandrSobol
2021-09-20 17:56:27 +03:00
parent 7fd4772121
commit 8955a10ca8
13 changed files with 253 additions and 66 deletions
+4 -1
View File
@@ -25,7 +25,8 @@ class AddressTextField extends StatelessWidget {
this.textStyle,
this.hintStyle,
this.validator,
this.onPushPasteButton});
this.onPushPasteButton,
this.onPushAddressBookButton});
static const prefixIconWidth = 34.0;
static const prefixIconHeight = 34.0;
@@ -45,6 +46,7 @@ class AddressTextField extends StatelessWidget {
final TextStyle hintStyle;
final FocusNode focusNode;
final Function(BuildContext context) onPushPasteButton;
final Function(BuildContext context) onPushAddressBookButton;
@override
Widget build(BuildContext context) {
@@ -216,6 +218,7 @@ class AddressTextField extends StatelessWidget {
if (contact is ContactBase && contact.address != null) {
controller.text = contact.address;
onPushAddressBookButton?.call(context);
}
}