routemaster
routemaster copied to clipboard
[Map-Swap] `canGoBack` broken afterwards
Steps:
- Login (triggers a map swap)
- Navigate to a subview
- Logout (triggers a map swap)
- Login (triggers a map swap)
Expected:
Routemaster.of(context).history.canGoBack returns false and no back button is visible.
Experienced:
Routemaster.of(context).history.canGoBack returns true, the back button is visible. Pressing the back button does nothing (Routemaster.of(context).pop() triggers no navigation).
Video
https://user-images.githubusercontent.com/352753/142463424-68180862-aa96-4c81-a1aa-778af61c7269.mov