only display address book icon for stack coins

This commit is contained in:
sneurlax 2023-01-20 18:26:43 -06:00
parent 49f024b656
commit 8ec82ee603

View file

@ -969,7 +969,8 @@ class _BuyFormState extends ConsumerState<BuyForm> {
? const ClipboardIcon() ? const ClipboardIcon()
: const XIcon(), : const XIcon(),
), ),
if (_receiveAddressController.text.isEmpty) if (_receiveAddressController.text.isEmpty &&
isStackCoin(selectedCrypto?.ticker))
TextFieldIconButton( TextFieldIconButton(
key: const Key("buyViewAddressBookButtonKey"), key: const Key("buyViewAddressBookButtonKey"),
onTap: () { onTap: () {