From bea4cb14d80401ef8392bad69f63444808d2b427 Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Wed, 17 Jun 2026 09:51:40 +0300 Subject: [PATCH] book appointment button enabled --- lib/pages/BookAppointment/DoctorProfile.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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); }); },