mycoralhealth / mycoral-patient

Mobile app for patients to interact with Coral Health blockchain
17 stars 7 forks source link

Reseting the navigation stack after logging in. #73

Closed KristonCosta closed 6 years ago

KristonCosta commented 6 years ago

The login screen is left on the navigation stack after we enter the app. If someone double taps a back button or adds two backs onto the navigation stack in some way then the stack will revert all the way to the login screen.

We can just reset the stack once we login and set the main navigation bar to be the base state.

related to https://github.com/mycoralhealth/mycoral-patient/issues/72

@nosequeldeebee @grcevski