Open iamkevinlowe opened 8 years ago
I investigated this a bit, posting here for posterity.
The reason this occurs is because the index.ios.js
component includes the Settings
component from within its rendered NavigatorIOS
component (as a property).
One solution is to extract a separate NavigatorIOS
component for the logged-out view vs. the logged-in view. That seems like overkill to me.
Another solution would be to simply include the Settings
component and render different contents depending on whether or not the user is logged in.
Settings button, leading to LOG OUT is shown on Login view.