book appointment button enabled

king_kahild_app_updated_3.32
haroon amjad 2 weeks ago
parent f25b716aad
commit bea4cb14d8

@ -161,14 +161,16 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
TabBar( TabBar(
onTap: (index) { onTap: (index) {
setState(() { setState(() {
// if (index == 1) { if (index == 1) {
// if (widget.doctor.clinicID == 23 || widget.doctor.clinicID == 47 || widget.isLiveCareAppointment) { // if (widget.doctor.clinicID == 23 || widget.doctor.clinicID == 47 || widget.isLiveCareAppointment) {
// _tabController.index = _tabController.previousIndex; // _tabController.index = _tabController.previousIndex;
// showFooterButton = false; // showFooterButton = false;
// } else { // } else {
// showFooterButton = true; showFooterButton = true;
// } // }
// } } else {
showFooterButton = false;
}
print(showFooterButton); print(showFooterButton);
}); });
}, },

Loading…
Cancel
Save