From 8316f972e54bc16ee88e9d0f69d4a1744811bcb1 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Wed, 6 Aug 2025 19:33:29 +0200 Subject: [PATCH] fix country code bug --- .../mzansi_profile/business_profile/profile_business_add.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frontend/lib/mih_packages/mzansi_profile/business_profile/profile_business_add.dart b/Frontend/lib/mih_packages/mzansi_profile/business_profile/profile_business_add.dart index 90997c3a..2bd8596f 100644 --- a/Frontend/lib/mih_packages/mzansi_profile/business_profile/profile_business_add.dart +++ b/Frontend/lib/mih_packages/mzansi_profile/business_profile/profile_business_add.dart @@ -375,7 +375,7 @@ class _ProfileBusinessAddState extends State { 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 { fnameController.text = widget.signedInUser.fname; lnameController.text = widget.signedInUser.lname; accessController.text = "Full"; + countryCodeController.text = "+27"; }); if (AppEnviroment.getEnv() == "Prod") { env = "Prod";