Updated on 2026-08-14
This commit is contained in:
parent
57d2348c9a
commit
d10ca65bba
1 changed files with 4 additions and 2 deletions
|
|
@ -103,9 +103,11 @@ class TapWalletManager {
|
|||
|
||||
val toUpdate = currencies.filter { !fiatRatesThrottler.isStillThrottled(it) }
|
||||
toUpdate.forEach {
|
||||
fiatRatesThrottler.updateThrottlingTo(it)
|
||||
val result = coinMarketCapService.getRate(it.currencySymbol, fiatCurrency)
|
||||
fiatRatesThrottler.setValue(it, result)
|
||||
if (result is Result.Success) {
|
||||
fiatRatesThrottler.updateThrottlingTo(it)
|
||||
fiatRatesThrottler.setValue(it, result)
|
||||
}
|
||||
handleFiatRatesResult(listOf(it to result))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue