diff --git a/lib/features/contact_us/contact_us_view_model.dart b/lib/features/contact_us/contact_us_view_model.dart index 72bcff76..d627c55e 100644 --- a/lib/features/contact_us/contact_us_view_model.dart +++ b/lib/features/contact_us/contact_us_view_model.dart @@ -153,7 +153,7 @@ class ContactUsViewModel extends ChangeNotifier { // dialogService.showErrorDialog(message: apiResponse.errorMessage!, onOkPressed: () {}); } else if (apiResponse.messageStatus == 1) { liveChatProjectsList = apiResponse.data!; - liveChatProjectsList.sort((a, b) => b.distanceInKilometers.compareTo(a.distanceInKilometers)); + liveChatProjectsList.sort((a, b) => a.distanceInKilometers.compareTo(b.distanceInKilometers)); isLiveChatProjectsListLoading = false; notifyListeners(); if (onSuccess != null) { diff --git a/pubspec.yaml b/pubspec.yaml index 01c155b1..e1e4b3d3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: hmg_patient_app_new description: "New HMG Patient App" publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 0.0.1+3 +version: 0.0.1+4 environment: sdk: ">=3.6.0 <4.0.0"