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), padding: EdgeInsets.all(21),
shrinkWrap: true, shrinkWrap: true,
itemBuilder: (context, index) { 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( return InkWell(
onTap: shouldEnable onTap: shouldEnable
? null ? null

Loading…
Cancel
Save