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(
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);
});
},

Loading…
Cancel
Save