populate amount only if qr has it [skip ci]
OmarHatem committed
Oct 3, 2025 at 16:24 UTC
2a0bbe059f732e8241b9db271ccab2b5b9558d27
1 file changed
+3
-1
lib/src/screens/send/widgets/send_card.dart
+3
-1
@@ -275,7 +275,9 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
275
sendViewModel.payjoinUri = paymentRequest.pjUri;
276
}
277
addressController.text = paymentRequest.address;
278
- cryptoAmountController.text = paymentRequest.amount;
278
+ if (paymentRequest.amount.isNotEmpty) {
279
+ cryptoAmountController.text = paymentRequest.amount;
280
+ }
281
noteController.text = paymentRequest.note;
282
}
283