removed test entries in the SettingsProfileView

This commit is contained in:
Clément Le Bihan
2023-04-10 22:37:39 +02:00
parent 1b63d27f74
commit 0cd8846e2c

View File

@@ -80,16 +80,6 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
maxWidth: 850,
}}
elements={[
{
type: "text",
title: "Username",
data: {
text: user.name,
onPress: () => {
console.log("Go to username settings");
},
},
},
{
type: "text",
title: "Email",
@@ -110,6 +100,13 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
maxWidth: 850,
}}
elements={[
{
type: "text",
title: "Username",
data: {
text: user.name,
},
},
{
type: "text",
title: "ID",
@@ -143,39 +140,6 @@ const ProfileSettings = ({ navigation }: { navigation: any }) => {
text: user.data.createdAt,
},
},
{
type: "toggle",
title: "Notifications",
disabled: true,
data: {
value: toggle,
onToggle: () => {
console.log("toggle", toggle);
setToggle(!toggle);
},
},
},
{
type: "dropdown",
title: "Langue",
data: {
value: selectValue,
options: [
{
label: "Français",
value: "fr",
},
{
label: "English",
value: "en",
},
],
onSelect: (value) => {
console.log("select", value);
setSelectValue(value);
},
},
},
]}
/>
</Column>