Updated on 2026-08-14

This commit is contained in:
Tangem 2025-05-16 12:52:27 +05:00
parent 7be6ce9dba
commit 0cd80d7c50
13 changed files with 109 additions and 5 deletions

View file

@ -215,6 +215,13 @@ internal class DefaultNFTRepository @Inject constructor(
assetIdentifier = assetIdConverter.convertBack(assetIdentifier),
)
override suspend fun clearCache(userWalletId: UserWalletId, networks: List<Network>) {
networks.forEach {
getNFTPersistenceStore(userWalletId, it).clear()
getNFTRuntimeStore(userWalletId, it).clear()
}
}
private suspend fun refreshCollectionsInternal(
userWalletId: UserWalletId,
networks: List<Network>,