From 1a68ffd500d0f743bc3814323f76598e868642ac Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Thu, 12 Mar 2026 17:54:02 +0300 Subject: [PATCH] Updates --- assets/images/svg/globe_other.svg | 4 ++++ assets/langs/ar-SA.json | 3 ++- assets/langs/en-US.json | 3 ++- lib/core/api_consts.dart | 2 +- lib/core/app_assets.dart | 2 ++ lib/generated/locale_keys.g.dart | 1 + lib/presentation/authentication/saved_login_screen.dart | 3 ++- lib/presentation/lab/lab_results/lab_result_details.dart | 2 +- pubspec.yaml | 3 ++- 9 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 assets/images/svg/globe_other.svg diff --git a/assets/images/svg/globe_other.svg b/assets/images/svg/globe_other.svg new file mode 100644 index 00000000..1b9734b3 --- /dev/null +++ b/assets/images/svg/globe_other.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/langs/ar-SA.json b/assets/langs/ar-SA.json index f929b1ae..76736da7 100644 --- a/assets/langs/ar-SA.json +++ b/assets/langs/ar-SA.json @@ -1583,5 +1583,6 @@ "continueCash": "متابعة الدفع نقدًا", "timeFor": "الوقت", "hmgPolicies": "سياسات مجموعة الحبيب الطبية", - "darkMode": "المظهر الداكن" + "darkMode": "المظهر الداكن", + "generateAiAnalysisResult": "قم بإجراء تحليل لهذا المختبر AI" } diff --git a/assets/langs/en-US.json b/assets/langs/en-US.json index b1cc5b08..b7c8def0 100644 --- a/assets/langs/en-US.json +++ b/assets/langs/en-US.json @@ -1576,5 +1576,6 @@ "continueCash": "Continue as cash", "timeFor": "Time For", "hmgPolicies": "HMG Policies", - "darkMode": "Dark Mode" + "darkMode": "Dark Mode", + "generateAiAnalysisResult": "Generate AI analysis for this result" } diff --git a/lib/core/api_consts.dart b/lib/core/api_consts.dart index a529c740..99f62aad 100644 --- a/lib/core/api_consts.dart +++ b/lib/core/api_consts.dart @@ -233,7 +233,7 @@ class ApiConsts { static String getAiOverViewLabOrder = "Services/Patients.svc/REST/HMGAI_Lab_Analyzer_API"; // ************ static values for Api **************** - static final double appVersionID = 20.2; + static final double appVersionID = 20.3; // static final double appVersionID = 50.7; static final int appChannelId = 3; static final String appIpAddress = "10.20.10.20"; diff --git a/lib/core/app_assets.dart b/lib/core/app_assets.dart index 7e5e9e9b..9d5f28c8 100644 --- a/lib/core/app_assets.dart +++ b/lib/core/app_assets.dart @@ -17,6 +17,8 @@ class AppAssets { static const String email = '$svgBasePath/email.svg'; static const String globe = '$svgBasePath/globe.svg'; static const String globeOther = '$svgBasePath/globe_other.svg'; + + // static const String globeOther = '$svgBasePath/globe_other.svg'; static const String cancel = '$svgBasePath/cancel.svg'; static const String bell = '$svgBasePath/bell.svg'; static const String login1 = '$svgBasePath/login1.svg'; diff --git a/lib/generated/locale_keys.g.dart b/lib/generated/locale_keys.g.dart index 1a33df93..2ba5dbc4 100644 --- a/lib/generated/locale_keys.g.dart +++ b/lib/generated/locale_keys.g.dart @@ -1577,5 +1577,6 @@ abstract class LocaleKeys { static const timeFor = 'timeFor'; static const hmgPolicies = 'hmgPolicies'; static const darkMode = 'darkMode'; + static const generateAiAnalysisResult = 'generateAiAnalysisResult'; } diff --git a/lib/presentation/authentication/saved_login_screen.dart b/lib/presentation/authentication/saved_login_screen.dart index e9f201ad..96db5187 100644 --- a/lib/presentation/authentication/saved_login_screen.dart +++ b/lib/presentation/authentication/saved_login_screen.dart @@ -206,7 +206,7 @@ class _SavedLogin extends State { }, backgroundColor: AppColors.primaryRedColor, borderColor: AppColors.primaryRedColor, - textColor: AppColors.whiteColor, + textColor: AppColors.textColor, icon: AppAssets.sms), ), Row( @@ -232,6 +232,7 @@ class _SavedLogin extends State { textColor: AppColors.textColor, icon: AppAssets.whatsapp, iconColor: null, + applyThemeColor: false, ), ), ], diff --git a/lib/presentation/lab/lab_results/lab_result_details.dart b/lib/presentation/lab/lab_results/lab_result_details.dart index d2c1b524..8d5d0042 100644 --- a/lib/presentation/lab/lab_results/lab_result_details.dart +++ b/lib/presentation/lab/lab_results/lab_result_details.dart @@ -104,7 +104,7 @@ class LabResultDetails extends StatelessWidget { padding: EdgeInsets.only(right: 4.w, left: 4.w), child: Utils.buildSvgWithAssets(icon: AppAssets.aiOverView, width: 16.h, height: 16.h, iconColor: Colors.white), ), - LocaleKeys.generateAiAnalysis.tr(context: context).toText16(isBold: true) + LocaleKeys.generateAiAnalysisResult.tr(context: context).toText16(isBold: true) ], ), ).paddingSymmetrical(24.h, 24.h).onPress(() async { diff --git a/pubspec.yaml b/pubspec.yaml index 43969000..27a81c7e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,8 @@ 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.11+8 +#version: 0.0.11+8 +version: 0.0.1+9 environment: sdk: ">=3.6.0 <4.0.0"