diff --git a/assets/images/svg/E_Referral.svg b/assets/images/svg/E_Referral.svg
new file mode 100644
index 0000000..fb6b859
--- /dev/null
+++ b/assets/images/svg/E_Referral.svg
@@ -0,0 +1,9 @@
+
diff --git a/assets/images/svg/file.svg b/assets/images/svg/file.svg
new file mode 100644
index 0000000..004145c
--- /dev/null
+++ b/assets/images/svg/file.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/images/svg/files.svg b/assets/images/svg/files.svg
new file mode 100644
index 0000000..dfc862e
--- /dev/null
+++ b/assets/images/svg/files.svg
@@ -0,0 +1,14 @@
+
diff --git a/assets/images/svg/gallery.svg b/assets/images/svg/gallery.svg
new file mode 100644
index 0000000..ec1c45e
--- /dev/null
+++ b/assets/images/svg/gallery.svg
@@ -0,0 +1,11 @@
+
diff --git a/assets/images/svg/open_camera.svg b/assets/images/svg/open_camera.svg
new file mode 100644
index 0000000..171452a
--- /dev/null
+++ b/assets/images/svg/open_camera.svg
@@ -0,0 +1,7 @@
+
diff --git a/assets/images/svg/rate_1.svg b/assets/images/svg/rate_1.svg
new file mode 100644
index 0000000..8e1c2f2
--- /dev/null
+++ b/assets/images/svg/rate_1.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svg/rate_2.svg b/assets/images/svg/rate_2.svg
new file mode 100644
index 0000000..9500556
--- /dev/null
+++ b/assets/images/svg/rate_2.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svg/rate_3.svg b/assets/images/svg/rate_3.svg
new file mode 100644
index 0000000..7c9d0f5
--- /dev/null
+++ b/assets/images/svg/rate_3.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svg/rate_4.svg b/assets/images/svg/rate_4.svg
new file mode 100644
index 0000000..7f82267
--- /dev/null
+++ b/assets/images/svg/rate_4.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/svg/rate_5.svg b/assets/images/svg/rate_5.svg
new file mode 100644
index 0000000..a7308ba
--- /dev/null
+++ b/assets/images/svg/rate_5.svg
@@ -0,0 +1,3 @@
+
diff --git a/lib/core/app_state.dart b/lib/core/app_state.dart
index c8659a7..1bb1c5a 100644
--- a/lib/core/app_state.dart
+++ b/lib/core/app_state.dart
@@ -45,7 +45,7 @@ class AppState {
bool isChildLoggedIn = false;
bool isGMSAvailable = true;
bool isAndroid = true;
-
+ bool isRatedVisible =false;
void setAuthenticatedUser(AuthenticatedUser? authenticatedUser, {bool isFamily = false}) {
if (isFamily) {
_authenticatedChildUser = authenticatedUser;
@@ -172,4 +172,8 @@ class AppState {
userLong = 0.0;
userLong = 0.0;
}
+
+ setRatedVisible(bool value) {
+ isRatedVisible = value;
+ }
}
diff --git a/lib/presentation/home/landing_page.dart b/lib/presentation/home/landing_page.dart
index d49e2d0..7ed3b33 100644
--- a/lib/presentation/home/landing_page.dart
+++ b/lib/presentation/home/landing_page.dart
@@ -107,17 +107,23 @@ class _LandingPageState extends State {
prescriptionsViewModel.initPrescriptionsViewModel();
insuranceViewModel.initInsuranceProvider();
emergencyServicesViewModel.checkPatientERAdvanceBalance();
+ if(!appState.isRatedVisible) {
appointmentRatingViewModel.getLastRatingAppointment(onSuccess: (response) {
if (appointmentRatingViewModel.appointmentRatedList.isNotEmpty) {
appointmentRatingViewModel.getAppointmentDetails(appointmentRatingViewModel.appointmentRatedList.last.appointmentNo!, appointmentRatingViewModel.appointmentRatedList.last.projectID!,
onSuccess: ((response) {
- appointmentRatingViewModel.setClinicOrDoctor(false);
- appointmentRatingViewModel.setTitle("Rate Doctor".needTranslation);
- appointmentRatingViewModel.setSubTitle("How was your last visit with doctor?".needTranslation);
- openLastRating();
+
+ appointmentRatingViewModel.setClinicOrDoctor(false);
+ appointmentRatingViewModel.setTitle("Rate Doctor".needTranslation);
+ appointmentRatingViewModel.setSubTitle("How was your last visit with doctor?".needTranslation);
+ openLastRating();
+ appState.setRatedVisible(true);
+
}));
+
}
});
+ }
}
});
super.initState();