diff --git a/lib/pages/BookAppointment/DoctorProfile.dart b/lib/pages/BookAppointment/DoctorProfile.dart index 43595998..568bdb19 100644 --- a/lib/pages/BookAppointment/DoctorProfile.dart +++ b/lib/pages/BookAppointment/DoctorProfile.dart @@ -161,14 +161,16 @@ class _DoctorProfileState extends State with TickerProviderStateM TabBar( onTap: (index) { setState(() { - // if (index == 1) { + if (index == 1) { // if (widget.doctor.clinicID == 23 || widget.doctor.clinicID == 47 || widget.isLiveCareAppointment) { - // _tabController.index = _tabController.previousIndex; - // showFooterButton = false; + // _tabController.index = _tabController.previousIndex; + // showFooterButton = false; // } else { - // showFooterButton = true; + showFooterButton = true; // } - // } + } else { + showFooterButton = false; + } print(showFooterButton); }); },