update: gamification

parent 3465b8bb
...@@ -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>
......
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