diff --git a/lib/src/screens/buy/buy_sell_page.dart b/lib/src/screens/buy/buy_sell_page.dart index 1a3c181cf..6d03445fb 100644 --- a/lib/src/screens/buy/buy_sell_page.dart +++ b/lib/src/screens/buy/buy_sell_page.dart @@ -264,6 +264,10 @@ class BuySellPage extends BasePage { final cryptoAmountController = cryptoCurrencyKey.currentState!.amountController; final cryptoAddressController = cryptoCurrencyKey.currentState!.addressController; + cryptoAddressController.addListener(() { + buySellViewModel.changeCryptoCurrencyAddress(cryptoAddressController.text); + }); + _onCurrencyChange(buySellViewModel.cryptoCurrency, buySellViewModel, cryptoCurrencyKey); _onCurrencyChange(buySellViewModel.fiatCurrency, buySellViewModel, fiatCurrencyKey); @@ -313,10 +317,6 @@ class BuySellPage extends BasePage { } }); - cryptoAddressController.addListener(() { - buySellViewModel.changeCryptoCurrencyAddress(cryptoAddressController.text); - }); - _cryptoAddressFocus.addListener(() async { if (!_cryptoAddressFocus.hasFocus && cryptoAddressController.text.isNotEmpty) { final domain = cryptoAddressController.text;