Ask doc disabled for LiveCare appointments

Dev_3.3_MedicalReportCR
haroon amjad 1 year ago
parent b92e45aa93
commit 657248803f

@ -72,7 +72,7 @@ class _AppointmentActionsState extends State<AppointmentActions> {
padding: EdgeInsets.all(21),
shrinkWrap: true,
itemBuilder: (context, index) {
bool shouldEnable = ((widget.appo.clinicID == 17 || widget.appo.clinicID == 47) && appoButtonsList[index].caller == "openReschedule");
bool shouldEnable = ((widget.appo.clinicID == 17 || widget.appo.clinicID == 47) || (widget.appo.isLiveCareAppointment && appoButtonsList[index].caller == "askDoc") || appoButtonsList[index].caller == "openReschedule");
return InkWell(
onTap: shouldEnable
? null

Loading…
Cancel
Save