diff --git a/src/components/ReceiveWarnings.tsx b/src/components/ReceiveWarnings.tsx
index 13564623a..aa4d2dd1c 100644
--- a/src/components/ReceiveWarnings.tsx
+++ b/src/components/ReceiveWarnings.tsx
@@ -5,7 +5,10 @@ import { FeesModal } from "~/components/MoreInfoModal";
import { useI18n } from "~/i18n/context";
import { useMegaStore } from "~/state/megaStore";
-export function ReceiveWarnings(props: { amountSats: string | bigint }) {
+export function ReceiveWarnings(props: {
+ amountSats: string | bigint;
+ from_fedi_to_ln: boolean;
+}) {
const i18n = useI18n();
const [state, _actions] = useMegaStore();
@@ -26,7 +29,7 @@ export function ReceiveWarnings(props: { amountSats: string | bigint }) {
});
const warningText = () => {
- if (state.federations?.length !== 0) {
+ if (state.federations?.length !== 0 && props.from_fedi_to_ln != true) {
return undefined;
}
if ((state.balance?.lightning || 0n) === 0n) {
diff --git a/src/i18n/en/translations.ts b/src/i18n/en/translations.ts
index 806a0af3f..5f648ed6b 100644
--- a/src/i18n/en/translations.ts
+++ b/src/i18n/en/translations.ts
@@ -601,7 +601,8 @@ export default {
initiated: "Swap Initiated",
sats_added: "+{{amount}} sats will be added to your Lightning balance",
sats_fee: "+{{amount}} sats fee",
- confirm_swap: "Confirm Swap"
+ confirm_swap: "Confirm Swap",
+ preview_swap: "Preview Swap Fee"
},
reload: {
mutiny_update: "Mutiny Update",
diff --git a/src/routes/Receive.tsx b/src/routes/Receive.tsx
index 513606238..6a347fb3e 100644
--- a/src/routes/Receive.tsx
+++ b/src/routes/Receive.tsx
@@ -377,7 +377,10 @@ export function Receive() {
setAmountSats={setAmount}
onSubmit={getQr}
/>
-
- {i18n.t("swap.sats_added", {
+ {i18n.t("swap_lightning.sats_added", {
amount: Number(
sweepResult()?.result?.amount
).toLocaleString()
@@ -205,6 +236,17 @@ export function SwapLightning() {
}
]}
/>
+