mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
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:
parent
315c4c911c
commit
8f16af4748
2 changed files with 5 additions and 2 deletions
|
@ -120,6 +120,7 @@ class ContactListPage extends BasePage {
|
|||
if (isCopied) {
|
||||
await Clipboard.setData(ClipboardData(text: contact.address));
|
||||
await showBar<void>(context, S.of(context).copied_to_clipboard);
|
||||
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue