update: gamification

parent 3465b8bb
......@@ -121,14 +121,14 @@ export function gamification({ navigation }) {
<TouchableOpacity
style={styles.buttonSub}
title="carrot"
title="apple"
onPress={(title) => {
props.setFieldValue("title", "carrot");
props.setFieldValue("title", "apple");
props.handleSubmit(title);
}}
// onPress={handlecarrot}
>
<Text style={styles.buttonText}>Carrot</Text>
<Text style={styles.buttonText}>Apple</Text>
</TouchableOpacity>
<TouchableOpacity
......@@ -155,13 +155,13 @@ export function gamification({ navigation }) {
<TouchableOpacity
style={styles.buttonSub}
title="beans"
title="pepper"
onPress={(title) => {
props.setFieldValue("title", "beans");
props.setFieldValue("title", "pepper");
props.handleSubmit(title);
}}
>
<Text style={styles.buttonText}>Beans</Text>
<Text style={styles.buttonText}>Pepper</Text>
</TouchableOpacity>
</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