summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 22947d0c4..8172e02a2 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -369,8 +369,8 @@ export function TransactionView({
if (transaction.type === TransactionType.Deposit) {
const fee = Amounts.sub(
- Amounts.parseOrThrow(transaction.amountRaw),
Amounts.parseOrThrow(transaction.amountEffective),
+ Amounts.parseOrThrow(transaction.amountRaw),
).amount;
return (
<TransactionTemplate>
@@ -379,15 +379,15 @@ export function TransactionView({
<br />
<Part
big
- title="Total deposit"
+ title="Total send"
text={amountToString(transaction.amountEffective)}
- kind="negative"
+ kind="neutral"
/>
<Part
big
- title="Purchase amount"
+ title="Deposit amount"
text={amountToString(transaction.amountRaw)}
- kind="neutral"
+ kind="positive"
/>
<Part big title="Fee" text={amountToString(fee)} kind="negative" />
</TransactionTemplate>