diff --git a/app/features/send/resolve-destination.ts b/app/features/send/resolve-destination.ts index 45f7e9123..2eef18fa6 100644 --- a/app/features/send/resolve-destination.ts +++ b/app/features/send/resolve-destination.ts @@ -79,7 +79,7 @@ export async function resolveSendDestination( data: { sendType: 'BOLT11_INVOICE', destination: encoded, - destinationDisplay: `${encoded.slice(0, 6)}...${encoded.slice(-4)}`, + destinationDisplay: `${encoded.slice(0, 10)}...${encoded.slice(-6)}`, amount: validated.amount, decoded: bolt11.decoded, }, diff --git a/app/features/send/send-input.tsx b/app/features/send/send-input.tsx index 253a6773b..55056668a 100644 --- a/app/features/send/send-input.tsx +++ b/app/features/send/send-input.tsx @@ -187,32 +187,21 @@ export function SendInput() { -
-
-
- -
- - {!exchangeRateError && ( - - )} +
+
+
-
- {destinationDisplay && ( - <> -

{destinationDisplay}

- - - )} -
+ {!exchangeRateError && ( + + )}
@@ -233,28 +222,44 @@ export function SendInput() {
-
- - - - - - - {sendAccount.purpose === 'transactional' && ( - - )} -
-
{/* spacer */} + {destinationDisplay ? ( +
+ {destinationDisplay} + +
+ ) : ( + <> +
+ + + + + + + {sendAccount.purpose === 'transactional' && ( + + )} +
+
{/* spacer */} + + )}