diff --git a/src/app/screens/LNURLPay/index.tsx b/src/app/screens/LNURLPay/index.tsx index 35d26a0326..bc68de8724 100644 --- a/src/app/screens/LNURLPay/index.tsx +++ b/src/app/screens/LNURLPay/index.tsx @@ -406,117 +406,123 @@ function LNURLPay() { {!successAction ? ( <>
- + -
-
-
- <> - {formattedMetadata(details.metadata).map( - ([dt, dd], i) => ( - -
{dt}
-
{dd}
-
- ) - )} - {details.minSendable === details.maxSendable && ( - <> -
{t("amount.label")}
-
- {getFormattedSats( - Math.floor(+details.minSendable / 1000) - )} -
- - )} - -
- {details && details.minSendable !== details.maxSendable && ( -
- setValueSat(e.target.value)} - fiatValue={fiatValue} - hint={`${tCommon("balance")}: ${auth - ?.balancesDecorated?.accountBalance}`} - amountExceeded={amountExceeded} - /> - -
- )} - - {showCommentField() && ( -
- { - setComment(e.target.value); - }} - /> -
- )} - - {(showNameField() || showEmailField()) && ( -
- - {tCommon("actions.more")}{" "} - {showMoreFields ? ( - - ) : ( - + +
+
+
+ <> + {formattedMetadata(details.metadata).map( + ([dt, dd], i) => ( + +
{dt}
+
{dd}
+
+ ) + )} + {details.minSendable === details.maxSendable && ( + <> +
{t("amount.label")}
+
+ {getFormattedSats( + Math.floor(+details.minSendable / 1000) + )} +
+ )} - -
- )} - - {showMoreFields && ( -
- {showNameField() && ( -
- { - setUserName(e.target.value); - }} + + + {details && + details.minSendable !== details.maxSendable && ( +
+ setValueSat(e.target.value)} + fiatValue={fiatValue} + hint={`${tCommon("balance")}: ${auth + ?.balancesDecorated?.accountBalance}`} + amountExceeded={amountExceeded} /> -
- )} - {showEmailField() && ( -
- { - setUserEmail(e.target.value); - }} +
)} -
- )} + + {showCommentField() && ( +
+ { + setComment(e.target.value); + }} + /> +
+ )} + + {(showNameField() || showEmailField()) && ( +
+ + {tCommon("actions.more")}{" "} + {showMoreFields ? ( + + ) : ( + + )} + +
+ )} + + {showMoreFields && ( +
+ {showNameField() && ( +
+ { + setUserName(e.target.value); + }} + /> +
+ )} + {showEmailField() && ( +
+ { + setUserEmail(e.target.value); + }} + /> +
+ )} +
+ )} +