Updated on 2026-08-14
This commit is contained in:
parent
7b574b2a20
commit
c3850e7991
5 changed files with 91 additions and 9 deletions
|
|
@ -242,7 +242,11 @@ internal class YieldSupplyActiveModel @Inject constructor(
|
|||
userWalletId,
|
||||
cryptoCurrencyStatusFlow.value,
|
||||
).onRight { minAmount ->
|
||||
val dustAmount = yieldSupplyGetDustMinAmountUseCase(minAmount = minAmount, appCurrency = appCurrency)
|
||||
val dustAmount = yieldSupplyGetDustMinAmountUseCase(
|
||||
minAmountTokenCurrency = minAmount,
|
||||
appCurrency = appCurrency,
|
||||
tokenCryptoCurrencyStatus = cryptoCurrencyStatusFlow.value,
|
||||
)
|
||||
uiState.update(
|
||||
YieldSupplyActiveMinAmountTransformer(
|
||||
cryptoCurrencyStatus = cryptoCurrencyStatusFlow.value,
|
||||
|
|
|
|||
|
|
@ -348,8 +348,9 @@ internal class YieldSupplyModel @Inject constructor(
|
|||
.getOrNull()
|
||||
if (minAmount != null) {
|
||||
val dustAmount = yieldSupplyGetDustMinAmountUseCase(
|
||||
minAmount = minAmount,
|
||||
minAmountTokenCurrency = minAmount,
|
||||
appCurrency = appCurrency,
|
||||
tokenCryptoCurrencyStatus = cryptoCurrencyStatus,
|
||||
)
|
||||
cryptoCurrencyStatus.shouldShowNotSuppliedNotification(dustAmount)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue