CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address (#880)

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* Delete widget_test.dart

* fix: Revert unneeded changes made

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* fix: Requested changes

* Update

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* fix: Filter address in address book

* Update local branch

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address

* CW-344-Exchanging-TO-the-current-wallet-currency-should-allow-changing-the-address
This commit is contained in:
Adegoke David
2023-04-20 19:14:11 +02:00
committed by GitHub
parent 315c4c911c
commit 8f16af4748
2 changed files with 5 additions and 2 deletions
@@ -406,7 +406,6 @@ class ExchangeCardState extends State<ExchangeCard> {
order: NumericFocusOrder(3),
child: BaseTextFormField(
controller: addressController,
readOnly: true,
borderColor: Colors.transparent,
suffixIcon:
SizedBox(width: _isMoneroWallet ? 80 : 36),
@@ -433,7 +432,10 @@ class ExchangeCardState extends State<ExchangeCard> {
onTap: () async {
final contact =
await Navigator.of(context)
.pushNamed(Routes.pickerAddressBook);
.pushNamed(
Routes.pickerAddressBook,
arguments: widget.initialCurrency,
);
if (contact is ContactBase &&
contact.address != null) {