Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EmidWife-New
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-24-005
EmidWife-New
Commits
248bc388
Commit
248bc388
authored
May 19, 2024
by
Malsha Jayakody
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change routes
parent
92167ac7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/constants/routes.js
src/constants/routes.js
+0
-1
src/navigations/BottomTabNavigator.js
src/navigations/BottomTabNavigator.js
+2
-2
src/screens/home/game/game01/GameLevel04.js
src/screens/home/game/game01/GameLevel04.js
+2
-1
No files found.
src/constants/routes.js
View file @
248bc388
...
@@ -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
'
,
...
...
src/navigations/BottomTabNavigator.js
View file @
248bc388
...
@@ -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_
H
OME
)
{
}
else
if
(
route
.
name
===
ROUTES
.
GAME_
WELC
OME
)
{
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_
H
OME
}
name
=
{
ROUTES
.
GAME_
WELC
OME
}
component
=
{
GameNavigator
}
component
=
{
GameNavigator
}
options
=
{{
options
=
{{
tabBarButton
:
props
=>
<
CustomTabBarButton
{...
props
}
/>
,
tabBarButton
:
props
=>
<
CustomTabBarButton
{...
props
}
/>
,
...
...
src/screens/home/game/game01/GameLevel04.js
View file @
248bc388
...
@@ -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
:
6
0
,
marginBottom
:
12
0
,
justifyContent
:
'
center
'
,
justifyContent
:
'
center
'
,
alignItems
:
'
center
'
,
alignItems
:
'
center
'
,
// marginHorizontal: 25,
// marginHorizontal: 25,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment