Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-090 frontend
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
2021-090
2021-090 frontend
Commits
913733db
Commit
913733db
authored
Oct 07, 2021
by
IT18111170-Silva S.H.I
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: Home Screen iot button
parent
92df6d39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
screen/HomeScreen.js
screen/HomeScreen.js
+3
-1
No files found.
screen/HomeScreen.js
View file @
913733db
...
@@ -19,6 +19,8 @@ import {
...
@@ -19,6 +19,8 @@ import {
}
from
"
@expo/vector-icons
"
;
}
from
"
@expo/vector-icons
"
;
import
{
MaterialIcons
}
from
"
@expo/vector-icons
"
;
import
{
MaterialIcons
}
from
"
@expo/vector-icons
"
;
import
{
gamification
}
from
"
./gamification
"
;
import
{
gamification
}
from
"
./gamification
"
;
import
{
IotScreen
}
from
"
./IotScreen
"
;
import
{
BottomTab
}
from
"
../Navigations/BottomTab
"
;
import
{
BottomTab
}
from
"
../Navigations/BottomTab
"
;
// import BottomTab from "../Navigations/BottomTab";
// import BottomTab from "../Navigations/BottomTab";
export
function
HomeScreen
({
navigation
})
{
export
function
HomeScreen
({
navigation
})
{
...
@@ -73,7 +75,7 @@ export function HomeScreen({ navigation }) {
...
@@ -73,7 +75,7 @@ export function HomeScreen({ navigation }) {
<
View
>
<
View
>
<
TouchableOpacity
<
TouchableOpacity
style
=
{
styles
.
IOT
}
style
=
{
styles
.
IOT
}
onPress
=
{()
=>
navigation
.
navigate
(
"
gamificatio
n
"
)}
onPress
=
{()
=>
navigation
.
navigate
(
"
IotScree
n
"
)}
>
>
<
Ionicons
name
=
"
game-controller
"
size
=
{
24
}
color
=
"
black
"
/>
<
Ionicons
name
=
"
game-controller
"
size
=
{
24
}
color
=
"
black
"
/>
<
Text
style
=
{
styles
.
buttonText
}
>
IOT
<
/Text
>
<
Text
style
=
{
styles
.
buttonText
}
>
IOT
<
/Text
>
...
...
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