Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-16 17:33:17 +05:00
parent 2669dd7831
commit 89ac414e39
2 changed files with 7 additions and 1 deletions

View file

@ -38,7 +38,6 @@ class UserTokensSaver(
userWalletId = userWalletId,
response = response,
)
store(userWalletId, enrichedUserTokensResponse, false)
push(userWalletId, enrichedUserTokensResponse, false)
}

View file

@ -53,6 +53,13 @@ internal class MockCurrenciesRepository(
currencies: List<CryptoCurrency>,
): List<CryptoCurrency> = emptyList()
override suspend fun saveNewCurrenciesListCache(userWalletId: UserWalletId, currencies: List<CryptoCurrency>) = Unit
override suspend fun addCurrenciesCache(
userWalletId: UserWalletId,
currencies: List<CryptoCurrency>,
): List<CryptoCurrency> = emptyList()
override suspend fun removeCurrency(userWalletId: UserWalletId, currency: CryptoCurrency) {
removeCurrencyResult.onLeft { throw it }
}