fix country code bug
This commit is contained in:
parent
526fb64335
commit
8316f972e5
1 changed files with 2 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||
debugPrint(
|
||||
"Selected Country Code: ${countryCodeController.text}");
|
||||
},
|
||||
initialSelection: '+27',
|
||||
initialSelection: countryCodeController.text,
|
||||
showDropDownButton: false,
|
||||
pickerStyle: PickerStyle.bottomSheet,
|
||||
dialogBackgroundColor:
|
||||
|
|
@ -752,6 +752,7 @@ class _ProfileBusinessAddState extends State<ProfileBusinessAdd> {
|
|||
fnameController.text = widget.signedInUser.fname;
|
||||
lnameController.text = widget.signedInUser.lname;
|
||||
accessController.text = "Full";
|
||||
countryCodeController.text = "+27";
|
||||
});
|
||||
if (AppEnviroment.getEnv() == "Prod") {
|
||||
env = "Prod";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue