Skip to content

Commit 2a0bbe0

Browse files
committed
populate amount only if qr has it [skip ci]
1 parent efef498 commit 2a0bbe0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/src/screens/send/widgets/send_card.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
275275
sendViewModel.payjoinUri = paymentRequest.pjUri;
276276
}
277277
addressController.text = paymentRequest.address;
278-
cryptoAmountController.text = paymentRequest.amount;
278+
if (paymentRequest.amount.isNotEmpty) {
279+
cryptoAmountController.text = paymentRequest.amount;
280+
}
279281
noteController.text = paymentRequest.note;
280282
}
281283

0 commit comments

Comments
 (0)