When using the “back” button, the associated function was sometimes multiple times, the popBackStack() returns false because there are no screen left on the stack leaving the user with a blank screen.
Solution
When the popBackStack() returns false navigate to Route.MAIN
Other changements
Deletion of unused components (Header which is replaced with CustomTopAppBar everywhere)
Fixed FlightsViewModelTest, which only passed in the afternoon.
Bug
When using the “back” button, the associated function was sometimes multiple times, the
popBackStack()
returns false because there are no screen left on the stack leaving the user with a blank screen.Solution
When the
popBackStack()
returns false navigate toRoute.MAIN
Other changements
Header
which is replaced withCustomTopAppBar
everywhere)close #301