Fix fill data condition

This commit is contained in:
OmarHatem 2022-12-12 22:16:46 +02:00
parent 826ae46b07
commit 30ef231d24

View file

@ -640,7 +640,7 @@ class SendCardState extends State<SendCard>
}); });
if (initialPaymentRequest != null && if (initialPaymentRequest != null &&
sendViewModel.walletCurrencyName != initialPaymentRequest!.scheme.toLowerCase()) { sendViewModel.walletCurrencyName == initialPaymentRequest!.scheme.toLowerCase()) {
addressController.text = initialPaymentRequest!.address; addressController.text = initialPaymentRequest!.address;
cryptoAmountController.text = initialPaymentRequest!.amount; cryptoAmountController.text = initialPaymentRequest!.amount;
noteController.text = initialPaymentRequest!.note; noteController.text = initialPaymentRequest!.note;