diff --git a/src/components/AmountEditable.tsx b/src/components/AmountEditable.tsx
index dca324b..77150cf 100644
--- a/src/components/AmountEditable.tsx
+++ b/src/components/AmountEditable.tsx
@@ -16,6 +16,7 @@ import { InlineAmount } from "./AmountCard";
import { DIALOG_CONTENT, DIALOG_POSITIONER } from "~/styles/dialogs";
import { InfoBox } from "./InfoBox";
import { Network } from "~/logic/mutinyWalletSetup";
+import { FeesModal } from "./MoreInfoModal";
const CHARACTERS = [
"1",
@@ -172,9 +173,9 @@ export const AmountEditable: ParentComponent<{
if ((state.balance?.lightning || 0n) === 0n) {
const network = state.mutiny_wallet?.get_network() as Network;
if (network === "bitcoin") {
- return "Your first lightning receive needs to be 50,000 sats or greater.";
+ return "Your first lightning receive needs to be 50,000 sats or greater. A setup fee will be deducted from the requested amount.";
} else {
- return "Your first lightning receive needs to be 10,000 sats or greater.";
+ return "Your first lightning receive needs to be 10,000 sats or greater. A setup fee will be deducted from the requested amount.";
}
}
@@ -357,8 +358,8 @@ export const AmountEditable: ParentComponent<{
/>
+
Bugs? Feedback?{" "}
{props.children}
+{props.children}
+ Mutiny is a self-custodial wallet. To initiate a lightning + payment we must open a lightning channel, which requires a + minimum amount and a setup fee. +
++ Future payments, both send and recieve, will only incur normal + network fees and a nominal service fee unless your channel runs + out of inbound capacity. +
+
+
{props.children}
; + return{props.children}
; }; export const TinyText: ParentComponent = (props) => { diff --git a/src/root.css b/src/root.css index 69a220c..b942007 100644 --- a/src/root.css +++ b/src/root.css @@ -24,6 +24,14 @@ a { @apply underline decoration-light-text hover:decoration-white; } +p { + @apply font-light; +} + +p:not(:last-child) { + @apply mb-2; +} + #video-container { position: relative; width: max-content; diff --git a/src/routes/Receive.tsx b/src/routes/Receive.tsx index aaa5bf6..073285a 100644 --- a/src/routes/Receive.tsx +++ b/src/routes/Receive.tsx @@ -42,6 +42,7 @@ import { MegaCheck } from "~/components/successfail/MegaCheck"; import { ExternalLink } from "~/components/layout/ExternalLink"; import { CopyableQR } from "~/components/CopyableQR"; import { InfoBox } from "~/components/InfoBox"; +import { FeesModal } from "~/components/MoreInfoModal"; type OnChainTx = { transaction: { @@ -83,17 +84,17 @@ function FeeWarning(props: { fee: bigint; flavor: ReceiveFlavor }) {