From ed7aa0806d1502c1eadd556ece6384fc95caac2f Mon Sep 17 00:00:00 2001
From: Sebastian
Date: Mon, 27 Feb 2023 19:56:41 -0300
Subject: fix logo duplication
---
.../taler-wallet-webextension/src/cta/Deposit/views.tsx | 5 ++---
.../src/cta/InvoiceCreate/views.tsx | 7 +++----
.../src/cta/InvoicePay/views.tsx | 5 ++---
.../taler-wallet-webextension/src/cta/Recovery/views.tsx | 5 ++---
.../taler-wallet-webextension/src/cta/Refund/views.tsx | 15 ++++++---------
packages/taler-wallet-webextension/src/cta/Tip/views.tsx | 15 ++++++---------
.../src/cta/TransferCreate/views.tsx | 7 +++----
.../src/cta/TransferPickup/views.tsx | 7 +++----
8 files changed, 27 insertions(+), 39 deletions(-)
(limited to 'packages/taler-wallet-webextension/src/cta')
diff --git a/packages/taler-wallet-webextension/src/cta/Deposit/views.tsx b/packages/taler-wallet-webextension/src/cta/Deposit/views.tsx
index 7fa43f878..2ea7d05b8 100644
--- a/packages/taler-wallet-webextension/src/cta/Deposit/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Deposit/views.tsx
@@ -33,8 +33,7 @@ export function ReadyView(state: State.Ready): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash deposit
@@ -74,6 +73,6 @@ export function ReadyView(state: State.Ready): VNode {
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
index e96ee0705..86f07fe34 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/InvoiceCreate/views.tsx
@@ -16,7 +16,7 @@
import { Amounts } from "@gnu-taler/taler-util";
import { format } from "date-fns";
-import { h, VNode } from "preact";
+import { Fragment, h, VNode } from "preact";
import { LogoHeader } from "../../components/LogoHeader.js";
import { Part } from "../../components/Part.js";
import {
@@ -69,8 +69,7 @@ export function ReadyView({
}
}
return (
-
-
+
Digital invoice
@@ -159,6 +158,6 @@ export function ReadyView({
Create
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx b/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx
index 4a9d90ef6..41db60520 100644
--- a/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/InvoicePay/views.tsx
@@ -31,8 +31,7 @@ export function ReadyView(
const { i18n } = useTranslationContext();
const { summary, effective, raw, expiration, uri, status, payStatus } = state;
return (
-
-
+
Digital invoice
@@ -60,6 +59,6 @@ export function ReadyView(
payHandler={status === "ready" ? state.accept : undefined}
goToWalletManualWithdraw={state.goToWalletManualWithdraw}
/>
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/Recovery/views.tsx b/packages/taler-wallet-webextension/src/cta/Recovery/views.tsx
index 858349ef3..303fbd7c8 100644
--- a/packages/taler-wallet-webextension/src/cta/Recovery/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Recovery/views.tsx
@@ -24,8 +24,7 @@ import { State } from "./index.js";
export function ReadyView({ accept, cancel }: State.Ready): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital wallet recovery
@@ -42,6 +41,6 @@ export function ReadyView({ accept, cancel }: State.Ready): VNode {
Cancel
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/Refund/views.tsx b/packages/taler-wallet-webextension/src/cta/Refund/views.tsx
index 22d49caf4..ffbf83042 100644
--- a/packages/taler-wallet-webextension/src/cta/Refund/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Refund/views.tsx
@@ -29,8 +29,7 @@ export function IgnoredView(state: State.Ignored): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash refund
@@ -40,15 +39,14 @@ export function IgnoredView(state: State.Ignored): VNode {
You've ignored the tip.
-
+
);
}
export function InProgressView(state: State.InProgress): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash refund
@@ -77,14 +75,13 @@ export function InProgressView(state: State.InProgress): VNode {
) : undefined}
-
+
);
}
export function ReadyView(state: State.Ready): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash refund
@@ -135,6 +132,6 @@ export function ReadyView(state: State.Ready): VNode {
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/Tip/views.tsx b/packages/taler-wallet-webextension/src/cta/Tip/views.tsx
index 000daf19e..196da7a1b 100644
--- a/packages/taler-wallet-webextension/src/cta/Tip/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/Tip/views.tsx
@@ -27,8 +27,7 @@ import { State } from "./index.js";
export function IgnoredView(state: State.Ignored): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash tip
@@ -36,15 +35,14 @@ export function IgnoredView(state: State.Ignored): VNode {
You've ignored the tip.
-
+
);
}
export function ReadyView(state: State.Ready): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash tip
@@ -81,15 +79,14 @@ export function ReadyView(state: State.Ready): VNode {
-
+
);
}
export function AcceptedView(state: State.Accepted): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash tip
@@ -100,6 +97,6 @@ export function AcceptedView(state: State.Accepted): VNode {
transactions list for more details.
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx b/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
index a28b13141..1028385c8 100644
--- a/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/TransferCreate/views.tsx
@@ -16,7 +16,7 @@
import { Amounts } from "@gnu-taler/taler-util";
import { format } from "date-fns";
-import { h, VNode } from "preact";
+import { Fragment, h, VNode } from "preact";
import { ErrorTalerOperation } from "../../components/ErrorTalerOperation.js";
import { LogoHeader } from "../../components/LogoHeader.js";
import { Part } from "../../components/Part.js";
@@ -59,8 +59,7 @@ export function ReadyView({
}
}
return (
-
-
+
Digital cash transfer
@@ -125,6 +124,6 @@ export function ReadyView({
Create
-
+
);
}
diff --git a/packages/taler-wallet-webextension/src/cta/TransferPickup/views.tsx b/packages/taler-wallet-webextension/src/cta/TransferPickup/views.tsx
index b7ba3ea26..5c2e647a1 100644
--- a/packages/taler-wallet-webextension/src/cta/TransferPickup/views.tsx
+++ b/packages/taler-wallet-webextension/src/cta/TransferPickup/views.tsx
@@ -14,7 +14,7 @@
GNU Taler; see the file COPYING. If not, see
*/
-import { h, VNode } from "preact";
+import { Fragment, h, VNode } from "preact";
import { Amount } from "../../components/Amount.js";
import { ErrorTalerOperation } from "../../components/ErrorTalerOperation.js";
import { LogoHeader } from "../../components/LogoHeader.js";
@@ -35,8 +35,7 @@ export function ReadyView({
}: State.Ready): VNode {
const { i18n } = useTranslationContext();
return (
-
-
+
Digital cash transfer
@@ -65,6 +64,6 @@ export function ReadyView({
-
+
);
}
--
cgit v1.2.3