|
|
|
|
@ -663,7 +663,7 @@ class _LandingPageState extends State<LandingPage> with WidgetsBindingObserver {
|
|
|
|
|
setState(() {
|
|
|
|
|
if (value != null) {
|
|
|
|
|
notificationCount = value['List_PatientDashboard'][0]['UnreadPatientNotificationCount'] > 99 ? '99+' : value['List_PatientDashboard'][0]['UnreadPatientNotificationCount'].toString();
|
|
|
|
|
model.setState(model.count, 0, true, notificationCount);
|
|
|
|
|
model.setState(model.count, model.ancillaryCount, true, notificationCount);
|
|
|
|
|
sharedPref.setString(NOTIFICATION_COUNT, notificationCount);
|
|
|
|
|
// FlutterAppIconBadge.updateBadge(int.parse(notificationCount));
|
|
|
|
|
}
|
|
|
|
|
|