Updated on 2026-08-14
This commit is contained in:
parent
352ae036f3
commit
e5f25fdfb1
7 changed files with 97 additions and 19 deletions
|
|
@ -50,7 +50,7 @@ class SaveManagedTokensUseCase(
|
|||
|
||||
val addingCurrencies = currenciesToAdd.mapToCryptoCurrencies(userWalletId)
|
||||
|
||||
val savedCurrencies = currenciesRepository.addCurrencies(
|
||||
val savedCurrencies = currenciesRepository.addCurrenciesCache(
|
||||
userWalletId = userWalletId,
|
||||
currencies = addingCurrencies,
|
||||
)
|
||||
|
|
@ -87,6 +87,8 @@ class SaveManagedTokensUseCase(
|
|||
networks = addedCurrencies.map(CryptoCurrency::network).toSet(),
|
||||
),
|
||||
)
|
||||
|
||||
currenciesRepository.syncTokens(userWalletId)
|
||||
}
|
||||
|
||||
private suspend fun refreshUpdatedYieldBalances(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue