Browse Source

add score screen

pull/8/head
Tim Glasgow 2 years ago
parent
commit
e472a6737d
  1. 6
      squarenotsquare/src/navigation/SquareStack.js

6
squarenotsquare/src/navigation/SquareStack.js

@ -8,6 +8,7 @@ import Game from '../screens/Game';
import HighScore from '../screens/HighScore'; import HighScore from '../screens/HighScore';
import Settings from '../screens/Settings'; import Settings from '../screens/Settings';
import Splash from '../screens/Splash'; import Splash from '../screens/Splash';
import Score from '../screens/Score';
const SquareNav = createStackNavigator(); const SquareNav = createStackNavigator();
@ -42,6 +43,11 @@ function SquareStack() {
component={Game} component={Game}
options={noHeader} options={noHeader}
/> />
<SquareNav.Screen
name="Score"
component={Score}
options={noHeader}
/>
</SquareNav.Navigator> </SquareNav.Navigator>
</NavigationContainer> </NavigationContainer>
) )

Loading…
Cancel
Save