From c234cf59584da3a82a748b42fdc25256735760b8 Mon Sep 17 00:00:00 2001 From: Tangem Date: Tue, 6 May 2025 13:21:50 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../walletconnect/connections/utils/WcUserWalletsFetcher.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/utils/WcUserWalletsFetcher.kt b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/utils/WcUserWalletsFetcher.kt index c9361957b0..b27f364699 100644 --- a/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/utils/WcUserWalletsFetcher.kt +++ b/features/walletconnect/impl/src/main/kotlin/com/tangem/features/walletconnect/connections/utils/WcUserWalletsFetcher.kt @@ -82,10 +82,13 @@ internal class WcUserWalletsFetcher( return flow { emit(hashMapOf()) // emits right away so the transform doesn't wait for the images' loading to finish wallets.forEach { wallet -> + val card = wallet.scanResponse.card val artwork = getCardImageUseCase( cardId = wallet.cardId, - cardPublicKey = wallet.scanResponse.card.cardPublicKey, + cardPublicKey = card.cardPublicKey, size = ArtworkSize.SMALL, + manufacturerName = card.manufacturer.name, + firmwareVersion = card.firmwareVersion.toSdkFirmwareVersion(), ) loadedArtworks[wallet.walletId] = artwork emit(loadedArtworks)