You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Home screen to have a consistent number of Recent Activity entries (for example, the last 4)
What happened instead
On the Home screen under Recent Activity it first shows 4 activities when opening the app, but when switching back to Home screen after already being in the app it shows 2 activities instead.
How to reproduce
Make sure there's more than 4 entries in the Activity tab in your app
Close the app and remove it from your "recent apps"
Open the app fresh
It will now display 4 entries under Recent Activity
Switch to any other tab and back to Home
It will now only display 2 entries under Recent Activity
The expected behaviour is that it should always show the 2 most recent activities. So apparently something goes wrong in the case where this list gets updated when a new activity occurs.
The pattern that we use in the HistoryRepository currently makes it hard to resolve this issue. In retrospect the repository pattern is not really suitable there. Therefore, the class should be refactored to a bloc and in the new implementation this bug should be taken into account.
What I expect to happen
For the Home screen to have a consistent number of Recent Activity entries (for example, the last 4)
What happened instead
On the Home screen under Recent Activity it first shows 4 activities when opening the app, but when switching back to Home screen after already being in the app it shows 2 activities instead.
How to reproduce
Hard and software
The text was updated successfully, but these errors were encountered: