update term

This commit is contained in:
tzw
2021-10-12 10:22:57 +06:30
parent 65bfdf4762
commit bdd3caa15c
5 changed files with 19 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ class _DeliveryAddressEditorState extends State<DeliveryAddressEditor> {
_address2Controller.text = _deliveryAddress.addressLine2 ?? "";
_cityController.text = _deliveryAddress.city ?? "";
_stateController.text = _deliveryAddress.state ?? "";
_phoneController.text = _deliveryAddress.phoneNumber?? "";
_phoneController.text = _deliveryAddress.phoneNumber ?? "";
} else {
_cityController.text = "Yangon";
_stateController.text = "Yangon";
@@ -123,12 +123,14 @@ class _DeliveryAddressEditorState extends State<DeliveryAddressEditor> {
title: LocalText(context, 'delivery_address',
color: primaryColor, fontSize: 18),
actions: [
IconButton(
icon: Icon(
Icons.delete,
color: primaryColor,
),
onPressed: _delete)
_isNew
? Container()
: IconButton(
icon: Icon(
Icons.delete,
color: primaryColor,
),
onPressed: _delete)
],
),
body: Padding(