Skip to content

Commit 8b45900

Browse files
committed
guard navigateToAmount when Lightning invoice has fixed amount
1 parent 8e3a08e commit 8b45900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bitkit/Views/Wallets/Send/SendConfirmationView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct SendConfirmationView: View {
9595
sats: Int(wallet.sendAmountSats ?? invoice.amountSatoshis),
9696
showSymbol: true,
9797
testIdPrefix: "ReviewAmount",
98-
onTap: canEditAmount ? navigateToAmount : {}
98+
onTap: navigateToAmount
9999
)
100100
.padding(.bottom, 44)
101101
lightningView(invoice)

0 commit comments

Comments
 (0)