Commit 248bc388 authored by Malsha Jayakody's avatar Malsha Jayakody

change routes

parent 92167ac7
......@@ -37,7 +37,6 @@ export default {
SKIN_INFO: 'skin_info',
//GAMES
GAME_HOME: 'Game_Home',
GAME_WELCOME: 'Game_Welcome',
GAME_FORM: 'Game_Form',
GAME_MAIN_MENU: 'Game_Home_Menu',
......
......@@ -48,7 +48,7 @@ function BottomTabNavigator() {
) : (
<Logo width={22} height={22} />
);
} else if (route.name === ROUTES.GAME_HOME) {
} else if (route.name === ROUTES.GAME_WELCOME) {
return focused ? (
<Icon name="game-controller-sharp" size={22} color={color}/>
) : (
......@@ -78,7 +78,7 @@ function BottomTabNavigator() {
}}
/>
<Tab.Screen
name={ROUTES.GAME_HOME}
name={ROUTES.GAME_WELCOME}
component={GameNavigator}
options={{
tabBarButton: props => <CustomTabBarButton {...props} />,
......
......@@ -275,6 +275,7 @@ const CandyCrushGameLevel04 = ({navigation}) => {
alignItems: 'center',
borderRadius: 14,
width: 50,
marginTop: 10,
}}
onPress={toggleMute}>
<Text
......@@ -328,7 +329,7 @@ const CandyCrushGameLevel04 = ({navigation}) => {
style={{
backgroundColor: '#702963',
height: 50,
marginBottom: 60,
marginBottom: 120,
justifyContent: 'center',
alignItems: 'center',
// marginHorizontal: 25,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment