diff --git a/lib/presentation/appointments/widgets/appointment_doctor_card.dart b/lib/presentation/appointments/widgets/appointment_doctor_card.dart index b8a0ec8a..474878ef 100644 --- a/lib/presentation/appointments/widgets/appointment_doctor_card.dart +++ b/lib/presentation/appointments/widgets/appointment_doctor_card.dart @@ -267,7 +267,7 @@ class AppointmentDoctorCard extends StatelessWidget { fontSize: 14.f, isBold: true, borderRadius: 12.r, - height: 40.h, + height: 46.h, icon: AppAssets.appointment_calendar_icon, iconColor: AppColors.primaryRedColor, iconSize: 16.h, @@ -286,7 +286,7 @@ class AppointmentDoctorCard extends StatelessWidget { fontSize: 14.f, isBold: true, borderRadius: 12.r, - height: 40.h, + height: 46.h, icon: AppAssets.cancel, iconColor: AppColors.whiteColor, iconSize: 16.h, diff --git a/lib/presentation/book_appointment/select_doctor_page.dart b/lib/presentation/book_appointment/select_doctor_page.dart index de2e2ae8..d9012573 100644 --- a/lib/presentation/book_appointment/select_doctor_page.dart +++ b/lib/presentation/book_appointment/select_doctor_page.dart @@ -220,8 +220,9 @@ class _SelectDoctorPageState extends State { ], ).paddingSymmetrical(0.h, 0.h), if (bookAppointmentsViewModel.isGetDocForHealthCal && bookAppointmentsVM.showSortFilterButtons) SizedBox(height: 16.h), - bookAppointmentsVM.doctorsListGrouped.isNotEmpty - ? Row( + // bookAppointmentsVM.doctorsListGrouped.isNotEmpty + // ? + Row( mainAxisSize: MainAxisSize.max, children: [ Column( @@ -243,8 +244,8 @@ class _SelectDoctorPageState extends State { }, ), ], - ) - : SizedBox.shrink(), + ), + // : SizedBox.shrink(), ListView.separated( padding: EdgeInsets.only(top: 16.h), shrinkWrap: true, diff --git a/lib/presentation/home/landing_page.dart b/lib/presentation/home/landing_page.dart index 371fe892..1d7e3777 100644 --- a/lib/presentation/home/landing_page.dart +++ b/lib/presentation/home/landing_page.dart @@ -188,7 +188,7 @@ class _LandingPageState extends State { // Refresh Appointments Data myAppointmentsViewModel.setIsAppointmentDataToBeLoaded(true); myAppointmentsViewModel.initAppointmentsViewModel(); - myAppointmentsViewModel.getPatientAppointments(true, false); + myAppointmentsViewModel.getPatientAppointments(true, true); // Refresh Appointments Data habibWalletVM.initHabibWalletProvider();