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