diff --git a/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart b/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart index 0d2e398c..6b10bfd1 100644 --- a/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart +++ b/lib/screens/patients/register_patient/RegisterSearchPatientPage.dart @@ -44,7 +44,7 @@ class _RegisterSearchPatientPageState extends State { List countryList; - dynamic country; + dynamic country ; bool isSubmitted = false; @@ -109,6 +109,8 @@ class _RegisterSearchPatientPageState extends State { countryList.add(iraqCountry); countryList.add(liberiaCountry); countryList.add(senegalCountry); + country = countryList[0]; + _phoneCode.text = countryList[0]['id'].toString(); } @override