Browse Source

erasing 'Termos de uso' from registration screen - only for testing purposes

master
analuizaff 3 years ago
parent
commit
5e9f74b7c7
  1. 12
      src/app/screens/RegisterScreen.js

12
src/app/screens/RegisterScreen.js

@ -346,9 +346,7 @@ export default function RegisterScreen(props) {
comparePassword(form.password, form.confirmPassword);
fieldsAreNotInUse(form, actions).then((isNotUsed) => {
isNotUsed
? handleSubmit(form)
: setShowLog(true)
isNotUsed ? handleSubmit(form) : setShowLog(true);
// NOTE: this woud be nice, but does not work...
// : scroll.scrollTo({
// x: 0,
@ -502,18 +500,18 @@ export default function RegisterScreen(props) {
paddingLeft={2}
/>
</View>
<Text style={styles.labelStyle}>Termos de uso*</Text>
{/*<Text style={styles.labelStyle}>Termos de uso*</Text>
<View
flexDirection="column"
alignItems={"flex-start"}
marginBottom={24}
marginTop={12}
>
{ /*<Checkbox
<Checkbox
name={"consent"}
navigate={() => props.navigation.navigate("UserAgreement")}
/>*/}
</View>
/>
</View>*/}
<SubmitButton
flex={1}
title="cadastrar"

Loading…
Cancel
Save