populate amount only if qr has it [skip ci]

This commit is contained in:
OmarHatem
2025-10-03 16:24:19 +03:00
parent efef498c31
commit 2a0bbe059f
+3 -1
View File
@@ -275,7 +275,9 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
sendViewModel.payjoinUri = paymentRequest.pjUri;
}
addressController.text = paymentRequest.address;
cryptoAmountController.text = paymentRequest.amount;
if (paymentRequest.amount.isNotEmpty) {
cryptoAmountController.text = paymentRequest.amount;
}
noteController.text = paymentRequest.note;
}