I have updated the following in this branch. However note that I cannot test this as GameActionButton is hidden underneath the screen. For this to work, we have to show the GameActionButton as a react-navigation component via GameScreen but this will show the tab on top of the screen which pushes the button to bottom of the screen.
I am now passing the navigate function as props to GameActionButton so now should navigate to LoginForm (home) screen onclick
Also linked the isLoggedOut function from the redux store to the GameActionButton component
I have updated the following in this branch. However note that I cannot test this as GameActionButton is hidden underneath the screen. For this to work, we have to show the GameActionButton as a react-navigation component via GameScreen but this will show the tab on top of the screen which pushes the button to bottom of the screen.