remove 200k language

This commit is contained in:
Paul Miller
2024-04-27 09:46:22 -05:00
parent 44b86e6418
commit d6e32c481e
2 changed files with 5 additions and 14 deletions

View File

@@ -149,7 +149,7 @@
"what_for": "What's this for?",
"method_help": {
"title": "Receive Method",
"body": "Lightning receives under 200,000 sats go into your federation by default. Anything higher than that goes into a lightning channel."
"body": "Lightning receives will automatically go into your chosen federation. You can swap to self-custodial later if you want."
}
},
"send": {

View File

@@ -3,7 +3,7 @@ import {
MutinyInvoice
} from "@mutinywallet/mutiny-wasm";
import { useNavigate } from "@solidjs/router";
import { ArrowLeftRight, CircleHelp, Users, Zap } from "lucide-solid";
import { ArrowLeftRight, CircleHelp, Users } from "lucide-solid";
import {
createEffect,
createMemo,
@@ -102,20 +102,13 @@ function FeeWarning(props: { fee: bigint; flavor: ReceiveFlavor }) {
);
}
function ReceiveMethodHelp(props: { amountSats: bigint }) {
function ReceiveMethodHelp() {
const i18n = useI18n();
const [open, setOpen] = createSignal(false);
return (
<>
<button class="flex gap-2 self-end" onClick={() => setOpen(true)}>
<Switch>
<Match when={props.amountSats <= 200000n}>
<Users class="w-[18px]" />
</Match>
<Match when={true}>
<Zap class="w-[18px]" />
</Match>
</Switch>
<Users class="w-[18px]" />
<CircleHelp class="w-[18px] text-m-grey-350" />
</button>
<SimpleDialog
@@ -415,9 +408,7 @@ export function Receive() {
state.federations.length
}
>
<ReceiveMethodHelp
amountSats={amount() || 0n}
/>
<ReceiveMethodHelp />
</Show>
<form onSubmit={onSubmit}>
<SimpleInput