fix padding in agregar invitados

This commit is contained in:
Maria Sanchez 2022-09-01 12:21:09 -06:00
parent 8ef998a771
commit 32a2df0f60
2 changed files with 8 additions and 7 deletions

View File

@ -94,7 +94,12 @@ export default function AgregarInvitados({ navigation }) {
if (response.status != 201){
console.log('ocurrio un error ');
}else{
navigation.navigate('Inicio');
if (user.user_type == '4') {
navigation.navigate('Mis Invitados');
}else if(user.user_type == '3'){
navigation.navigate('Lista De Invitados');
}
return response.json();
}
})
@ -180,12 +185,8 @@ const styles = StyleSheet.create({
height: 35,
margin: 3,
borderWidth: 0.5,
padding: 5,
padding: 3,
flex: 1,
paddingTop: 9,
paddingRight: 19,
paddingBottom: 20,
paddingLeft: 0,
marginTop: 6,
marginBottom: 6,
borderRadius: 4

View File

@ -93,7 +93,7 @@ export default function LogIn({ navigation }) {
}else if(user.user_type == '3'){
addUser(user);
// cambiar por Comunicados Guarda luego
navigation.navigate('Comunicados', {user})
navigation.navigate('Comunicados Guarda', {user})
}
}else{
setErrors({ ...errors,