Updated on 2026-08-14
This commit is contained in:
parent
72c8150d56
commit
ba6260e063
1 changed files with 3 additions and 1 deletions
|
|
@ -197,8 +197,10 @@ internal class SwapAmountModel @Inject constructor(
|
|||
value = value,
|
||||
),
|
||||
)
|
||||
quoteTaskScheduler.cancelTask()
|
||||
amountDebouncer.debounce(
|
||||
coroutineScope = modelScope,
|
||||
waitMs = DEBOUNCE_AMOUNT_DELAY,
|
||||
destinationFunction = {
|
||||
startLoadingQuotesTask(isSilentReload = false)
|
||||
},
|
||||
|
|
@ -686,7 +688,7 @@ internal class SwapAmountModel @Inject constructor(
|
|||
}
|
||||
|
||||
private companion object {
|
||||
const val DEBOUNCE_AMOUNT_DELAY = 1000L
|
||||
const val DEBOUNCE_AMOUNT_DELAY = 500L
|
||||
const val QUOTES_UPDATE_DELAY = 10000L
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue