From 1b63d27f7463dcf9d748a82cadebdfecf131fbf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Mon, 10 Apr 2023 22:35:18 +0200 Subject: [PATCH] fixed a little style issue of ElementList and setting the mail pressed action to navigate to the mail options --- front/components/GtkUI/ElementList.tsx | 1 + front/views/settings/SettingsProfileView.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/front/components/GtkUI/ElementList.tsx b/front/components/GtkUI/ElementList.tsx index ecb91de..319ec3e 100644 --- a/front/components/GtkUI/ElementList.tsx +++ b/front/components/GtkUI/ElementList.tsx @@ -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 ( diff --git a/front/views/settings/SettingsProfileView.tsx b/front/views/settings/SettingsProfileView.tsx index 0d44d45..677efb3 100644 --- a/front/views/settings/SettingsProfileView.tsx +++ b/front/views/settings/SettingsProfileView.tsx @@ -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"); }, }, },