fix country code bug
This commit is contained in:
@@ -375,7 +375,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||||||
debugPrint(
|
debugPrint(
|
||||||
"Selected Country Code: ${countryCodeController.text}");
|
"Selected Country Code: ${countryCodeController.text}");
|
||||||
},
|
},
|
||||||
initialSelection: '+27',
|
initialSelection: countryCodeController.text,
|
||||||
showDropDownButton: false,
|
showDropDownButton: false,
|
||||||
pickerStyle: PickerStyle.bottomSheet,
|
pickerStyle: PickerStyle.bottomSheet,
|
||||||
dialogBackgroundColor:
|
dialogBackgroundColor:
|
||||||
@@ -752,6 +752,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||||||
fnameController.text = widget.signedInUser.fname;
|
fnameController.text = widget.signedInUser.fname;
|
||||||
lnameController.text = widget.signedInUser.lname;
|
lnameController.text = widget.signedInUser.lname;
|
||||||
accessController.text = "Full";
|
accessController.text = "Full";
|
||||||
|
countryCodeController.text = "+27";
|
||||||
});
|
});
|
||||||
if (AppEnviroment.getEnv() == "Prod") {
|
if (AppEnviroment.getEnv() == "Prod") {
|
||||||
env = "Prod";
|
env = "Prod";
|
||||||
|
|||||||
Reference in New Issue
Block a user