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
When restarting the app, we are restoring the state for the navigation, but aren't respecting it for the content. We should do one of the following:
remove the last selected screen from the persisted state and keep it only for as long as the app is running; meaning the app will always start on the Map screen
restore the state fully and start on the last selected screen
Expected behaviour
The navigation drawer should highlight the correct item for the screen shown.
Steps to reproduce
1. Start the app
2. Navigate to any screen other than Map
3. Force-close the app
4. Reopen the app
5. Open the navigation drawer
6. Observe that the app starts on the Map screen, but the previously selected screen is highlighted in the navigation.
Your device and OS
Affects all devices, e.g. iPhone 12 Pro, iOS 16.2
Screenshots
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Happening on the latest app version?
This is not a data update request
Explain what you did
I restarted the app after previously navigating to a screen other than Map.
Describe the bug
The navigation drawer is highlighting the wrong screen. This is because we're persisting the state to storage:
couleurbummel/src/components/contexts/GlobalStateContext.tsx
Lines 76 to 79 in b0e7a2e
When restarting the app, we are restoring the state for the navigation, but aren't respecting it for the content. We should do one of the following:
Expected behaviour
The navigation drawer should highlight the correct item for the screen shown.
Steps to reproduce
Your device and OS
Affects all devices, e.g. iPhone 12 Pro, iOS 16.2
Screenshots
The text was updated successfully, but these errors were encountered: