From 2175311c865a8d5a2ec20f3522d83a56ca41ac50 Mon Sep 17 00:00:00 2001 From: Cuteivist Date: Wed, 24 Jul 2024 21:18:33 +0200 Subject: [PATCH] chore: Use correct unique key for collectibles (#15736) --- .../Wallet/adaptors/CollectiblesSelectionAdaptor.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml b/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml index c924b11162..e96d156be0 100644 --- a/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml +++ b/ui/app/AppLayouts/Wallet/adaptors/CollectiblesSelectionAdaptor.qml @@ -32,7 +32,7 @@ QObject { /** Expected model structure: - tokenId [string] - unique identifier of a collectible + symbol [string] - unique identifier of a collectible collectionUid [string] - unique identifier of a collection contractAddress [string] - collectible's contract address name [string] - collectible's name e.g. "Magicat" @@ -75,7 +75,7 @@ QObject { ? model.communityId : model.collectionUid - readonly property string key: model.tokenId + readonly property string key: model.symbol readonly property url icon: model.imageUrl || model.mediaUrl || Qt.resolvedUrl("") @@ -101,7 +101,7 @@ QObject { expectedRoles: [ "ownership", "communityId", "collectionUid", "imageUrl", - "mediaUrl", "tokenId" + "mediaUrl", "symbol" ] exposedRoles: ["balance", "groupingValue", "icon", "key"] }