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

change routes

parent 92167ac7
...@@ -37,7 +37,6 @@ export default { ...@@ -37,7 +37,6 @@ export default {
SKIN_INFO: 'skin_info', SKIN_INFO: 'skin_info',
//GAMES //GAMES
GAME_HOME: 'Game_Home',
GAME_WELCOME: 'Game_Welcome', GAME_WELCOME: 'Game_Welcome',
GAME_FORM: 'Game_Form', GAME_FORM: 'Game_Form',
GAME_MAIN_MENU: 'Game_Home_Menu', GAME_MAIN_MENU: 'Game_Home_Menu',
......
...@@ -48,7 +48,7 @@ function BottomTabNavigator() { ...@@ -48,7 +48,7 @@ function BottomTabNavigator() {
) : ( ) : (
<Logo width={22} height={22} /> <Logo width={22} height={22} />
); );
} else if (route.name === ROUTES.GAME_HOME) { } else if (route.name === ROUTES.GAME_WELCOME) {
return focused ? ( return focused ? (
<Icon name="game-controller-sharp" size={22} color={color}/> <Icon name="game-controller-sharp" size={22} color={color}/>
) : ( ) : (
...@@ -78,7 +78,7 @@ function BottomTabNavigator() { ...@@ -78,7 +78,7 @@ function BottomTabNavigator() {
}} }}
/> />
<Tab.Screen <Tab.Screen
name={ROUTES.GAME_HOME} name={ROUTES.GAME_WELCOME}
component={GameNavigator} component={GameNavigator}
options={{ options={{
tabBarButton: props => <CustomTabBarButton {...props} />, tabBarButton: props => <CustomTabBarButton {...props} />,
......
...@@ -275,6 +275,7 @@ const CandyCrushGameLevel04 = ({navigation}) => { ...@@ -275,6 +275,7 @@ const CandyCrushGameLevel04 = ({navigation}) => {
alignItems: 'center', alignItems: 'center',
borderRadius: 14, borderRadius: 14,
width: 50, width: 50,
marginTop: 10,
}} }}
onPress={toggleMute}> onPress={toggleMute}>
<Text <Text
...@@ -328,7 +329,7 @@ const CandyCrushGameLevel04 = ({navigation}) => { ...@@ -328,7 +329,7 @@ const CandyCrushGameLevel04 = ({navigation}) => {
style={{ style={{
backgroundColor: '#702963', backgroundColor: '#702963',
height: 50, height: 50,
marginBottom: 60, marginBottom: 120,
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
// marginHorizontal: 25, // 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