From 5f3c02d31a223add55a32b20f4a289210cbb4f15 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Mon, 18 Jan 2021 23:35:41 +0100
Subject: implement deposits

---
 packages/taler-wallet-webextension/src/pages/popup.tsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'packages/taler-wallet-webextension/src/pages/popup.tsx')

diff --git a/packages/taler-wallet-webextension/src/pages/popup.tsx b/packages/taler-wallet-webextension/src/pages/popup.tsx
index 8d8d5a85d..9c8a8f75a 100644
--- a/packages/taler-wallet-webextension/src/pages/popup.tsx
+++ b/packages/taler-wallet-webextension/src/pages/popup.tsx
@@ -457,6 +457,18 @@ function TransactionItem(props: { tx: Transaction }): JSX.Element {
           pending={tx.pending}
         ></TransactionLayout>
       );
+    case TransactionType.Deposit:
+      return (
+        <TransactionLayout
+          amount={tx.amountEffective}
+          debitCreditIndicator={"debit"}
+          title="Refresh"
+          subtitle={`to ${tx.targetPaytoUri}`}
+          timestamp={tx.timestamp}
+          iconPath="/static/img/ri-refresh-line.svg"
+          pending={tx.pending}
+        ></TransactionLayout>
+      );
   }
 }
 
-- 
cgit v1.2.3

