fix account

This commit is contained in:
Patryk
2025-06-08 09:37:50 +02:00
parent 717dd32543
commit c39f9c383e
3 changed files with 31 additions and 29 deletions

View File

@@ -55,13 +55,6 @@ export default function Account() {
<Text className="text-2xl font-bold text-center mb-1">
{user.firstName} {user.lastName}
</Text>
<Pressable
className="border border-[#002f34] rounded-md py-2 px-4 self-center"
onPress={() => console.log("Edytuj dane użytkownika")}
>
<Text className="text-[#002f34] font-medium">Edytuj profil</Text>
</Pressable>
</Box>
<Box className="bg-white mt-4 p-5 border-t border-b border-gray-200">
@@ -71,6 +64,13 @@ export default function Account() {
<Text className="text-gray-600 w-24">E-mail</Text>
<Text className="flex-1">{user.email || "brak danych"}</Text>
</HStack>
<Pressable
className="border border-[#002f34] rounded-md py-2 px-4 self-start"
onPress={() => console.log("Edytuj dane użytkownika")}
>
<Text className="text-[#002f34] font-medium">Edytuj profil</Text>
</Pressable>
</Box>
<Box className="bg-white mt-4 p-5">
@@ -91,15 +91,15 @@ export default function Account() {
</Pressable>
</Link>
<Pressable className="py-3 flex-row items-center">
{/* <Pressable className="py-3 flex-row items-center">
<Text className="text-lg flex-1">Ustawienia powiadomień</Text>
<Text>▶</Text>
</Pressable>
</Pressable> */}
</Box>
<Pressable className="mt-8 mx-5 p-4 bg-white rounded-md items-center shadow-sm">
{/* <Pressable className="mt-8 mx-5 p-4 bg-white rounded-md items-center shadow-sm">
<Text className="text-red-500 font-medium">Wyloguj się</Text>
</Pressable>
</Pressable> */}
</VStack>
);
}