From 408073c7d24793b9a3d5e3aff6cc5399c8f7c4ac Mon Sep 17 00:00:00 2001 From: Cuteivist Date: Wed, 24 Jul 2024 21:19:51 +0200 Subject: [PATCH] fix(wallet): Show amount for mint activity (#15611) --- ui/imports/shared/controls/TransactionDelegate.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/imports/shared/controls/TransactionDelegate.qml b/ui/imports/shared/controls/TransactionDelegate.qml index d597c2ede4..aadc1e1d3a 100644 --- a/ui/imports/shared/controls/TransactionDelegate.qml +++ b/ui/imports/shared/controls/TransactionDelegate.qml @@ -98,7 +98,12 @@ StatusListItem { if (!isModelDataValid) { return qsTr("N/A") } else if (root.isNFT) { - return modelData.nftName ? modelData.nftName : "#" + modelData.tokenID + let value = "" + if (d.txType === Constants.TransactionType.Mint) { + value += modelData.amount + " " + } + value += (modelData.nftName ? modelData.nftName : "#" + modelData.tokenID) + return value } else if (!modelData.symbol && !!modelData.tokenAddress) { return "%1 (%2)".arg(root.rootStore.formatCurrencyAmount(cryptoValue, "")).arg(Utils.compactAddress(modelData.tokenAddress, 4)) }