profile screen

This commit is contained in:
2025-09-30 10:08:45 +02:00
parent 3dcf5453ca
commit 542fa23a98
+23 -2
View File
@@ -238,7 +238,7 @@ const Profile = () => {
backgroundColor: isWeb ? "transparent" : "#0000004D", backgroundColor: isWeb ? "transparent" : "#0000004D",
}} }}
rightComponent={() => rightComponent={() =>
isSelf ? ( !isWeb && isSelf ? (
<Pressable onPress={() => SheetManager.show("ProfileSettings")}> <Pressable onPress={() => SheetManager.show("ProfileSettings")}>
<Image source={icons.more} style={{ ...size({ size: 24 }) }} /> <Image source={icons.more} style={{ ...size({ size: 24 }) }} />
</Pressable> </Pressable>
@@ -258,6 +258,20 @@ const Profile = () => {
// Platform.OS !== "ios" ? "dimezisBlurView" : "none" // Platform.OS !== "ios" ? "dimezisBlurView" : "none"
// } // }
> >
{isWeb && (
<Pressable onPress={() => SheetManager.show("ProfileSettings")}>
<Image
source={icons.more}
style={{
...size({ size: 24 }),
position: "absolute",
right: 10,
top: 10,
}}
/>
</Pressable>
)}
<View style={{ alignItems: "center" }}> <View style={{ alignItems: "center" }}>
<ExpoImage <ExpoImage
source={ source={
@@ -293,7 +307,14 @@ const Profile = () => {
"Profil"} "Profil"}
</Text> </Text>
</View> </View>
<View style={{ ...Style.containerRow, gap: 10, marginTop: 10 }}> <View
style={{
...Style.containerRow,
gap: 10,
marginTop: 10,
paddingHorizontal: isWeb && 30,
}}
>
<View style={{ flex: 1, alignItems: "center" }}> <View style={{ flex: 1, alignItems: "center" }}>
<Text style={styles.value}> <Text style={styles.value}>
{Array.isArray(displayedProjects) {Array.isArray(displayedProjects)