fixed a little style issue of ElementList and setting the mail pressed action to navigate to the mail options
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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");
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user