Updated on 2026-08-14
This commit is contained in:
parent
de49ae56f7
commit
aa5bbce50e
1 changed files with 5 additions and 3 deletions
|
|
@ -94,12 +94,14 @@ internal class DefaultCurrenciesRepository(
|
|||
|
||||
val newCurrencies = (newCoins + filteredCurrencies).distinct()
|
||||
|
||||
val updatedResponse = savedCurrencies.copy(
|
||||
tokens = savedCurrencies.tokens + newCurrencies.map(userTokensResponseFactory::createResponseToken),
|
||||
)
|
||||
storeAndPushTokens(
|
||||
userWalletId = userWalletId,
|
||||
response = savedCurrencies.copy(
|
||||
tokens = savedCurrencies.tokens + newCurrencies.map(userTokensResponseFactory::createResponseToken),
|
||||
),
|
||||
response = updatedResponse
|
||||
)
|
||||
fetchExchangeableUserMarketCoinsByIds(userWalletId, updatedResponse)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue