pull/222/head
haroon amjad 4 weeks ago
parent fbb758e227
commit bb274e80c1

@ -142,7 +142,9 @@ class AppointmentDoctorCard extends StatelessWidget {
],
),
),
Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown).onPress(() async {
patientAppointmentHistoryResponseModel.isLiveCareAppointment!
? SizedBox.shrink()
: Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown).onPress(() async {
DoctorsListResponseModel selectedDoctor = DoctorsListResponseModel();
selectedDoctor.doctorID = patientAppointmentHistoryResponseModel.doctorID;
selectedDoctor.doctorImageURL = patientAppointmentHistoryResponseModel.doctorImageURL;

@ -159,7 +159,9 @@ class DoctorCard extends StatelessWidget {
],
),
),
Expanded(
(doctorsListResponseModel.isLiveCare ?? true)
? SizedBox.shrink()
: Expanded(
flex: 1,
child: Utils.buildSvgWithAssets(icon: AppAssets.doctor_profile_icon, width: 20.h, height: 20.h, fit: BoxFit.scaleDown).toShimmer2(isShow: isLoading),
),

Loading…
Cancel
Save