From 9aa71bb3fe49978b73af96a008f249a9b7f13c4b Mon Sep 17 00:00:00 2001 From: micbakos-rdx Date: Sat, 20 May 2023 00:02:25 +0300 Subject: [PATCH] Fix non-unique key for nft items --- .../presentation/ui/composables/NonFungibleResourcesContent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/NonFungibleResourcesContent.kt b/app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/NonFungibleResourcesContent.kt index 1059f70ced..7886dc6c3b 100644 --- a/app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/NonFungibleResourcesContent.kt +++ b/app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/NonFungibleResourcesContent.kt @@ -42,7 +42,7 @@ fun NonFungibleResourcesContent( } items( nft.items, - key = { item -> item.globalAddress(nftAddress = item.localId) } + key = { item -> item.globalAddress(nftAddress = nft.resourceAddress) } ) { item -> AnimatedVisibility( visible = !collapsed,