fixed a little style issue of ElementList and setting the mail pressed action to navigate to the mail options

This commit is contained in:
Clément Le Bihan
2023-04-10 22:35:18 +02:00
parent 8cde4747a7
commit 1b63d27f74
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ const ElementList = ({ elements, style }: ElementListProps) => {
const elementStyle = {
borderRadius: 10,
boxShadow: "0px 0px 3px 0px rgba(0,0,0,0.4)",
overflow: "hidden",
};
return (

View File

@@ -96,7 +96,7 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
data: {
text: user.email || "Aucun email associé",
onPress: () => {
console.log("Go to email settings");
navigation.navigate("ChangeEmail");
},
},
},