|
|
|
@ -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
|
|
|
|
|