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
Adegoke David committed
Apr 20, 2023 at 18:14 UTC
8f16af4748446c4f0ae83b09f1266740ccd64b3e
2 files changed
+5
-2
lib/src/screens/contact/contact_list_page.dart
+1
@@ -120,6 +120,7 @@ class ContactListPage extends BasePage {
120
if (isCopied) {
121
await Clipboard.setData(ClipboardData(text: contact.address));
122
await showBar<void>(context, S.of(context).copied_to_clipboard);
123
+
124
}
125
},
126
child: Container(
lib/src/screens/exchange/widgets/exchange_card.dart
+4
-2
@@ -406,7 +406,6 @@ class ExchangeCardState extends State<ExchangeCard> {
406
order: NumericFocusOrder(3),
407
child: BaseTextFormField(
408
controller: addressController,
409
- readOnly: true,
409
borderColor: Colors.transparent,
410
suffixIcon:
411
SizedBox(width: _isMoneroWallet ? 80 : 36),
@@ -433,7 +432,10 @@ class ExchangeCardState extends State<ExchangeCard> {
432
onTap: () async {
433
final contact =
434
await Navigator.of(context)
436
- .pushNamed(Routes.pickerAddressBook);
435
+ .pushNamed(
436
+ Routes.pickerAddressBook,
437
+ arguments: widget.initialCurrency,
438
+ );
439
440
if (contact is ContactBase &&
441
contact.address != null) {