Steps to reproduce
- Log in as one of the test users
- Take note of the badge on the notifications
- Navigate to the chart and select an appointment that is unread (in the future)
- Navigate to the home screen
Actual result
The badge was not decreased by 1.
Expected result
The badge should be decreased by 1.
Details
While the notification is marked as read, this change does not seem to have been made in the backend. That is probably why the badge was unaffected. However, when you go to the notifications first and click on one of them, it works as expected.