Updated on 2026-08-14
This commit is contained in:
parent
bbd1fc9ace
commit
472efdfc6b
10 changed files with 36 additions and 39 deletions
|
|
@ -83,8 +83,7 @@ internal class OnrampOperationModel @Inject constructor(
|
|||
fun onHotTokenClick(status: CryptoCurrencyStatus) {
|
||||
modelScope.launch {
|
||||
val unavailabilityReason = rampStateManager.availableForBuy(
|
||||
scanResponse = selectedUserWallet.scanResponse,
|
||||
userWalletId = params.userWalletId,
|
||||
userWallet = selectedUserWallet,
|
||||
cryptoCurrency = status.currency,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -229,8 +229,7 @@ internal class OnrampTokenListModel @Inject constructor(
|
|||
return when (params.filterOperation) {
|
||||
OnrampOperation.BUY -> {
|
||||
rampStateManager.availableForBuy(
|
||||
scanResponse = userWallet.scanResponse,
|
||||
userWalletId = params.userWalletId,
|
||||
userWallet = userWallet,
|
||||
cryptoCurrency = status.currency,
|
||||
).isAvailable()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue