diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx b/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx index d8e46cc46..c4ba4f2a3 100644 --- a/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx +++ b/packages/taler-wallet-webextension/src/wallet/ExchangeSetUrl.tsx @@ -6,7 +6,13 @@ import { import { Fragment, h } from "preact"; import { useEffect, useState } from "preact/hooks"; import { ErrorMessage } from "../components/ErrorMessage"; -import { Button, ButtonPrimary, Input, WarningBox } from "../components/styled"; +import { + Button, + ButtonPrimary, + Input, + LightText, + WarningBox, +} from "../components/styled"; export interface Props { initialValue?: string; @@ -89,6 +95,14 @@ export function ExchangeSetUrlPage({ ) : ( <h2>Add exchange for {expectedCurrency}</h2> )} + {!result && ( + <LightText>Enter the URL of an exchange you trust.</LightText> + )} + {result && ( + <LightText> + An exchange has been found! Review the information and click next + </LightText> + )} {result && expectedCurrency && expectedCurrency !== result.currency && ( <WarningBox> This exchange doesn't match the expected currency{" "} |