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
4985522b
Commit
4985522b
authored
Nov 16, 2021
by
IT18111170-Silva S.H.I
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: gamification
parent
3465b8bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
screen/gamification.js
screen/gamification.js
+6
-6
No files found.
screen/gamification.js
View file @
4985522b
...
@@ -121,14 +121,14 @@ export function gamification({ navigation }) {
...
@@ -121,14 +121,14 @@ export function gamification({ navigation }) {
<
TouchableOpacity
<
TouchableOpacity
style
=
{
styles
.
buttonSub
}
style
=
{
styles
.
buttonSub
}
title
=
"
carrot
"
title
=
"
apple
"
onPress
=
{(
title
)
=>
{
onPress
=
{(
title
)
=>
{
props
.
setFieldValue
(
"
title
"
,
"
carrot
"
);
props
.
setFieldValue
(
"
title
"
,
"
apple
"
);
props
.
handleSubmit
(
title
);
props
.
handleSubmit
(
title
);
}}
}}
// onPress={handlecarrot}
// onPress={handlecarrot}
>
>
<
Text
style
=
{
styles
.
buttonText
}
>
Carrot
<
/Text
>
<
Text
style
=
{
styles
.
buttonText
}
>
Apple
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
<
TouchableOpacity
...
@@ -155,13 +155,13 @@ export function gamification({ navigation }) {
...
@@ -155,13 +155,13 @@ export function gamification({ navigation }) {
<
TouchableOpacity
<
TouchableOpacity
style
=
{
styles
.
buttonSub
}
style
=
{
styles
.
buttonSub
}
title
=
"
beans
"
title
=
"
pepper
"
onPress
=
{(
title
)
=>
{
onPress
=
{(
title
)
=>
{
props
.
setFieldValue
(
"
title
"
,
"
beans
"
);
props
.
setFieldValue
(
"
title
"
,
"
pepper
"
);
props
.
handleSubmit
(
title
);
props
.
handleSubmit
(
title
);
}}
}}
>
>
<
Text
style
=
{
styles
.
buttonText
}
>
Beans
<
/Text
>
<
Text
style
=
{
styles
.
buttonText
}
>
Pepper
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
...
...
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