|
|
|
|
@ -78,7 +78,7 @@ class _DocAvailableAppointmentsState extends State<DocAvailableAppointments> wit
|
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
|
|
|
|
getCurrentLanguage();
|
|
|
|
|
|
|
|
|
|
if (await this.sharedPref.getBool(IS_LIVECARE_APPOINTMENT))
|
|
|
|
|
if (await this.sharedPref.getBool(IS_LIVECARE_APPOINTMENT) != null && await this.sharedPref.getBool(IS_LIVECARE_APPOINTMENT))
|
|
|
|
|
getDoctorScheduledFreeSlots(context, widget.doctor);
|
|
|
|
|
else {
|
|
|
|
|
getDoctorFreeSlots(context, widget.doctor);
|
|
|
|
|
|