added fetch contact from real device icon

This commit is contained in:
Jaanu423
2025-09-19 13:22:30 +05:30
parent 3b1dc58405
commit 660d14260a
4 changed files with 281 additions and 225 deletions
+22 -5
View File
@@ -332,11 +332,28 @@ const Profile = () => {
{/* Profile Card */}
<View style={styles.profileCard}>
{/* Profile Image Section */}
{
statusData?.role && statusData?.organizerStatus ?
<Text style={{ color: "#64748b", marginBottom: 16, textAlign: 'center', fontSize: 18 }}>Your Role: {statusData.role} | Organizer Status: {statusData.organizerStatus}</Text>
:
<SwitchNavigator role={statusData?.role || ''} status={statusData?.organizerStatus || ''} />}
{
statusData?.role === "USER" && statusData?.organizerStatus !== "NOT_APPLIED" ? (
<Text
style={{
color: "#64748b",
marginBottom: 16,
textAlign: "center",
fontSize: 18,
}}
>
Your Role: {statusData.role} | Organizer Status: {statusData.organizerStatus}
</Text>
) : (
statusData?.role !== "ORGANIZER" && (
<SwitchNavigator
role={statusData?.role || ""}
status={statusData?.organizerStatus || ""}
/>
)
)
}
<View style={styles.profileImageSection}>
<View style={styles.avatarContainer}>
<Image