lab fixes

pull/179/head
haroon amjad 2 days ago
parent ee3dd0b5c7
commit b309342cdc

@ -240,6 +240,9 @@ class LabViewModel extends ChangeNotifier {
model: item))
};
uniqueTestsList = uniqueTests.toList();
uniqueTestsList = Utils.uniqueBy(uniqueTestsList, (p) => p.testCode);
uniqueTestsList.sort((a, b) {
return a.description!.toLowerCase().compareTo(b.description!.toLowerCase());
});

@ -157,15 +157,15 @@ class ServicesPage extends StatelessWidget {
true,
route: AppRoutes.bloodDonationPage,
),
HmgServicesComponentModel(
3,
"My Child Vaccine".needTranslation,
"".needTranslation,
AppAssets.my_child_vaccine_icon,
bgColor: AppColors.myChildVaccineCardColor,
true,
route: AppRoutes.myChildVaccine,
),
// HmgServicesComponentModel(
// 3,
// "My Child Vaccine".needTranslation,
// "".needTranslation,
// AppAssets.my_child_vaccine_icon,
// bgColor: AppColors.myChildVaccineCardColor,
// true,
// route: AppRoutes.myChildVaccine,
// ),
// HmgServicesComponentModel(
// 11,
// "Covid 19 Test".needTranslation,

@ -203,7 +203,6 @@ class _AlphabetScrollPageState extends State<AlphabeticScroll> {
verticalOffset: 100.0,
child: FadeInAnimation(
child: LabOrderByTest(
appState: getIt<AppState>(),
onTap: () {
if (items[itemIndex].model != null) {

Loading…
Cancel
Save