|
|
@ -24,7 +24,6 @@ import { Shadow } from "react-native-shadow-2"; |
|
|
|
import SearchablePicker from "../components/SearchablePicker"; |
|
|
|
import { states, statesToCities } from "../assets/cities_states"; |
|
|
|
import { useFormikContext } from "formik"; |
|
|
|
import Checkbox from "../components/forms/CheckBox"; |
|
|
|
import { |
|
|
|
signup, |
|
|
|
login, |
|
|
@ -341,7 +340,7 @@ export default function RegisterScreen(props) { |
|
|
|
secQuestion: "", |
|
|
|
secQuestionAns: "", |
|
|
|
role: "", |
|
|
|
consent: false, |
|
|
|
consent: true, //ALTERAR P/ FALSE
|
|
|
|
}} |
|
|
|
onSubmit={(form, actions) => { |
|
|
|
comparePassword(form.password, form.confirmPassword); |
|
|
@ -510,10 +509,10 @@ export default function RegisterScreen(props) { |
|
|
|
marginBottom={24} |
|
|
|
marginTop={12} |
|
|
|
> |
|
|
|
<Checkbox |
|
|
|
{ /*<Checkbox |
|
|
|
name={"consent"} |
|
|
|
navigate={() => props.navigation.navigate("UserAgreement")} |
|
|
|
/> |
|
|
|
/>*/} |
|
|
|
</View> |
|
|
|
<SubmitButton |
|
|
|
flex={1} |
|
|
|