diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-01 12:50:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-01 12:50:43 -0300 |
commit | 372ddff91798cf9247eaf045f0d0ce33694fd880 (patch) | |
tree | 16af670c4bb95aec956210c7b5fc9777c385cf0c /packages/taler-wallet-webextension/src/components | |
parent | 1708d49a2d5da1f325173a030695223e5a24e75c (diff) | |
download | wallet-core-372ddff91798cf9247eaf045f0d0ce33694fd880.tar.xz |
render amount and limit input
Diffstat (limited to 'packages/taler-wallet-webextension/src/components')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/HistoryItem.tsx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/packages/taler-wallet-webextension/src/components/HistoryItem.tsx b/packages/taler-wallet-webextension/src/components/HistoryItem.tsx index e072d2581..72881c746 100644 --- a/packages/taler-wallet-webextension/src/components/HistoryItem.tsx +++ b/packages/taler-wallet-webextension/src/components/HistoryItem.tsx @@ -62,10 +62,10 @@ export function HistoryItem(props: { tx: Transaction }): VNode { WithdrawalType.TalerBankIntegrationApi ? !tx.withdrawalDetails.confirmed ? i18n.str`Need approval in the Bank` - : i18n.str`Exchange is waiting the wire transfer` + : i18n.str`Waiting for wire transfer to complete` : tx.withdrawalDetails.type === WithdrawalType.ManualTransfer - ? i18n.str`Exchange is waiting the wire transfer` - : "" //pending but no message + ? i18n.str`Waiting for wire transfer to complete` + : "" //pending but no message : undefined } /> @@ -88,8 +88,8 @@ export function HistoryItem(props: { tx: Transaction }): VNode { ? i18n.str`Need approval in the Bank` : i18n.str`Exchange is waiting the wire transfer` : tx.withdrawalDetails.type === WithdrawalType.ManualTransfer - ? i18n.str`Exchange is waiting the wire transfer` - : "" //pending but no message + ? i18n.str`Exchange is waiting the wire transfer` + : "" //pending but no message : undefined } /> @@ -267,14 +267,14 @@ function Layout(props: LayoutProps): VNode { style={{ backgroundColor: props.currentState === TransactionMajorState.Pending || - props.currentState === TransactionMajorState.Dialog + props.currentState === TransactionMajorState.Dialog ? "lightcyan" : props.currentState === TransactionMajorState.Failed - ? "#ff000040" - : props.currentState === TransactionMajorState.Aborted || - props.currentState === TransactionMajorState.Aborting - ? "#00000010" - : "inherit", + ? "#ff000040" + : props.currentState === TransactionMajorState.Aborted || + props.currentState === TransactionMajorState.Aborting + ? "#00000010" + : "inherit", alignItems: "center", }} > @@ -353,10 +353,10 @@ function TransactionAmount(props: TransactionAmountProps): VNode { props.currentState !== TransactionMajorState.Done ? "gray" : sign === "+" - ? "darkgreen" - : sign === "-" - ? "darkred" - : undefined, + ? "darkgreen" + : sign === "-" + ? "darkred" + : undefined, }} > <ExtraLargeText> |