Updated on 2026-08-14
This commit is contained in:
parent
e24dc4d64a
commit
179ee8f01b
1 changed files with 3 additions and 1 deletions
|
|
@ -82,6 +82,8 @@ internal class SendDestinationModel @Inject constructor(
|
|||
private val cryptoCurrency = params.cryptoCurrency
|
||||
private val userWalletId = params.userWalletId
|
||||
|
||||
// In "Send with swap" flow, these are addresses in the destination network (not the actual sender addresses).
|
||||
// Self-send validation must be skipped for them, so use only with params.isAllowSelfSend.
|
||||
private val senderAddresses = MutableStateFlow<List<CryptoCurrencyAddress>>(emptyList())
|
||||
|
||||
private val validationJobHolder = JobHolder()
|
||||
|
|
@ -208,7 +210,7 @@ internal class SendDestinationModel @Inject constructor(
|
|||
SendDestinationRecentListTransformer(
|
||||
cryptoCurrency = cryptoCurrency,
|
||||
senderAddress = senderAddresses.value.firstOrNull()?.address,
|
||||
isSelfSendAvailable = isSelfSendAvailable,
|
||||
isSelfSendAvailable = params.isAllowSelfSend || isSelfSendAvailable,
|
||||
destinationWalletList = destinationWalletList,
|
||||
txHistoryList = txHistoryList,
|
||||
isAccountsMode = isAccountsMode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue