From 8cc1e0842165db548633c9163c9d3f7da08141cf Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Wed, 9 Oct 2024 17:01:29 +0300 Subject: [PATCH] icons for indoor navigation updated --- lib/core/viewModels/project_view_model.dart | 2 +- lib/pages/ToDoList/ToDo.dart | 4 +++- lib/pages/landing/fragments/home_page_fragment2.dart | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/core/viewModels/project_view_model.dart b/lib/core/viewModels/project_view_model.dart index 2b973e67..61b453a4 100644 --- a/lib/core/viewModels/project_view_model.dart +++ b/lib/core/viewModels/project_view_model.dart @@ -47,7 +47,7 @@ class ProjectViewModel extends BaseViewModel { GetAdmissionInfoResponseModel getAdmissionInfoResponseModel = GetAdmissionInfoResponseModel(); GetAdmissionRequestInfoResponseModel getAdmissionRequestInfoResponseModel = GetAdmissionRequestInfoResponseModel(); - bool isIndoorNavigationEnabled = true; + bool isIndoorNavigationEnabled = false; void setIsAllAppointmentsLoaded(bool value) { _isAllAppointmentsLoaded = value; diff --git a/lib/pages/ToDoList/ToDo.dart b/lib/pages/ToDoList/ToDo.dart index 9af0c976..b9ede8f8 100644 --- a/lib/pages/ToDoList/ToDo.dart +++ b/lib/pages/ToDoList/ToDo.dart @@ -390,7 +390,9 @@ class _ToDoState extends State with SingleTickerProviderStateMixin { }, child: Column( children: [ - Icon(Icons.directions_walk), + SvgPicture.asset( + "assets/images/new/Indoor_nav_appo.svg", + ), Text( TranslationBase.of(context).clinicLocation, style: TextStyle( diff --git a/lib/pages/landing/fragments/home_page_fragment2.dart b/lib/pages/landing/fragments/home_page_fragment2.dart index 9b22a119..7711b4ff 100644 --- a/lib/pages/landing/fragments/home_page_fragment2.dart +++ b/lib/pages/landing/fragments/home_page_fragment2.dart @@ -54,7 +54,7 @@ class _HomePageFragment2State extends State { hmgServices.add(HmgServices(1, TranslationBase.of(context).liveCare, TranslationBase.of(context).onlineConsulting, "assets/images/new/Live_Care.svg", isLogin)); projectViewModel.isIndoorNavigationEnabled - ? hmgServices.add(HmgServices(2, "Hospital", "Navigation", "assets/images/new/emergency.svg", isLogin)) + ? hmgServices.add(HmgServices(2, "Hospital", "Navigation", "assets/images/new/indoor_nav_home.svg", isLogin)) : hmgServices.add(HmgServices(2, TranslationBase.of(context).emergencyTitle, TranslationBase.of(context).emergencySubtitle, "assets/images/new/emergency.svg", isLogin)); hmgServices.add(HmgServices(3, TranslationBase.of(context).hhcHome, TranslationBase.of(context).healthCare, "assets/images/new/HHC.svg", isLogin));