Skip to content

Commit

Permalink
fix: invert readonly mode
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Sep 23, 2024
1 parent 08a4b19 commit 1282a5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/send/LNURLPay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function LNURLPay() {
// Allow users to enter a comment if the LNURL allows it,
// otherwise go to the confirmation step directly
if (lnurlDetails.commentAllowed) {
setAmountReadOnly(false);
setAmountReadOnly(true);
} else {
requestInvoice();
}
Expand Down Expand Up @@ -70,7 +70,7 @@ export function LNURLPay() {
amount={amount}
setAmount={setAmount}
readOnly={isAmountReadOnly}
autoFocus
autoFocus={!isAmountReadOnly}
/>
<View className="w-full">
<Text className="text-muted-foreground text-center font-semibold2">
Expand Down

0 comments on commit 1282a5e

Please sign in to comment.