[FIX] Bug when phone number field is cleared during checkout

This commit is contained in:
Jean-Matthieu DECHRISTE 2022-09-06 11:22:02 +02:00
parent 94b989ad9d
commit 5608484991

View File

@ -150,7 +150,7 @@ class _CheckoutDetailsPageState extends State<CheckoutDetailsPage> {
_txtBillingAddressLine.text = addressLine!;
_txtBillingCity.text = city!;
_txtBillingPostalCode.text = postalCode!;
_txtBillingPhoneNumber.text = phoneNumber!;
_txtBillingPhoneNumber.text = phoneNumber ?? "";
_txtBillingEmailAddress.text = emailAddress!;
_billingCountry = customerCountry;
} else if (type == "shipping") {