From 8511d0aa6524f93e3b547f7bc0dc1643f8a66db6 Mon Sep 17 00:00:00 2001 From: Sultan khan Date: Mon, 8 Sep 2025 16:32:08 +0300 Subject: [PATCH] no message --- assets/images/svg/bell.svg | 4 ++++ assets/images/svg/close_bottom_nav.svg | 4 ++++ assets/images/svg/female_avatar.svg | 9 +++++++++ assets/images/svg/male_avatar.svg | 9 +++++++++ lib/core/api_consts.dart | 2 +- .../authentication/authentication_view_model.dart | 5 ++--- 6 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 assets/images/svg/bell.svg create mode 100644 assets/images/svg/close_bottom_nav.svg create mode 100644 assets/images/svg/female_avatar.svg create mode 100644 assets/images/svg/male_avatar.svg diff --git a/assets/images/svg/bell.svg b/assets/images/svg/bell.svg new file mode 100644 index 0000000..af6a5e5 --- /dev/null +++ b/assets/images/svg/bell.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/images/svg/close_bottom_nav.svg b/assets/images/svg/close_bottom_nav.svg new file mode 100644 index 0000000..185b857 --- /dev/null +++ b/assets/images/svg/close_bottom_nav.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/images/svg/female_avatar.svg b/assets/images/svg/female_avatar.svg new file mode 100644 index 0000000..98bec63 --- /dev/null +++ b/assets/images/svg/female_avatar.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/svg/male_avatar.svg b/assets/images/svg/male_avatar.svg new file mode 100644 index 0000000..a62e9d6 --- /dev/null +++ b/assets/images/svg/male_avatar.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/lib/core/api_consts.dart b/lib/core/api_consts.dart index 03f73d6..9e1bb62 100644 --- a/lib/core/api_consts.dart +++ b/lib/core/api_consts.dart @@ -726,7 +726,7 @@ const DEACTIVATE_ACCOUNT = 'Services/Patients.svc/REST/PatientAppleActivation_In class ApiConsts { static const maxSmallScreen = 660; - static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.uat; + static AppEnvironmentTypeEnum appEnvironmentType = AppEnvironmentTypeEnum.prod; // static String baseUrl = 'https://uat.hmgwebservices.com/'; // HIS API URL UAT diff --git a/lib/features/authentication/authentication_view_model.dart b/lib/features/authentication/authentication_view_model.dart index 52c83e7..2798166 100644 --- a/lib/features/authentication/authentication_view_model.dart +++ b/lib/features/authentication/authentication_view_model.dart @@ -140,9 +140,8 @@ class AuthenticationViewModel extends ChangeNotifier { Future selectDeviceImei({required Function(dynamic data) onSuccess, Function(String)? onError}) async { // LoadingUtils.showFullScreenLoading(); - String firebaseToken = _appState.deviceToken == "" - ? "dOGRRszQQMGe_9wA5Hx3kO:APA91bFV5IcIJXvcCXXk0tc2ddtZgWwCPq7sGSuPr-YW7iiJpQZKgFGN9GAzCVOWL8MfheaP1slE8MdxB7lczdPBGdONQ7WbMmhgHcsUCUktq-hsapGXXqc" - : _appState.deviceToken; + String firebaseToken = + _appState.deviceToken; final result = await _authenticationRepo.selectDeviceByImei(firebaseToken: firebaseToken); result.fold(