Skip to content

Commit 5608484

Browse files
committed
[FIX] Bug when phone number field is cleared during checkout
1 parent 94b989a commit 5608484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LabelStoreMax/lib/resources/pages/checkout_details.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class _CheckoutDetailsPageState extends State<CheckoutDetailsPage> {
150150
_txtBillingAddressLine.text = addressLine!;
151151
_txtBillingCity.text = city!;
152152
_txtBillingPostalCode.text = postalCode!;
153-
_txtBillingPhoneNumber.text = phoneNumber!;
153+
_txtBillingPhoneNumber.text = phoneNumber ?? "";
154154
_txtBillingEmailAddress.text = emailAddress!;
155155
_billingCountry = customerCountry;
156156
} else if (type == "shipping") {

0 commit comments

Comments
 (0)