From 9efeb287e75768ee4838445745bb20de28e93db5 Mon Sep 17 00:00:00 2001 From: Rithvik-padma Date: Fri, 8 Sep 2023 02:11:43 +0530 Subject: [PATCH 1/2] fix: shift-confirm-cancel-buttons-to-bottom --- src/app/screens/LNURLPay/index.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/screens/LNURLPay/index.tsx b/src/app/screens/LNURLPay/index.tsx index 35d26a0326..8512ad88cf 100644 --- a/src/app/screens/LNURLPay/index.tsx +++ b/src/app/screens/LNURLPay/index.tsx @@ -406,14 +406,17 @@ function LNURLPay() { {!successAction ? ( <>
- + -
-
+ +
<> {formattedMetadata(details.metadata).map( @@ -517,7 +520,7 @@ function LNURLPay() { )}
)} -
+
Date: Fri, 8 Sep 2023 16:44:03 +0530 Subject: [PATCH 2/2] fix: modify-without-absolute-positioning --- src/app/screens/LNURLPay/index.tsx | 203 +++++++++++++++-------------- 1 file changed, 103 insertions(+), 100 deletions(-) diff --git a/src/app/screens/LNURLPay/index.tsx b/src/app/screens/LNURLPay/index.tsx index 8512ad88cf..bc68de8724 100644 --- a/src/app/screens/LNURLPay/index.tsx +++ b/src/app/screens/LNURLPay/index.tsx @@ -415,112 +415,115 @@ function LNURLPay() {
-
- <> - {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); + }} + /> +
+ )} +
+ )} +
+