mirror of
https://github.com/urosran/cally.git
synced 2025-07-16 10:06:15 +00:00
fixed profile initials
This commit is contained in:
@ -125,8 +125,8 @@ const MyProfile = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Text style={styles.pfpTxt}>
|
<Text style={styles.pfpTxt}>
|
||||||
{user?.email?.at(0)}
|
{profileData?.firstName?.at(0)}
|
||||||
{user?.email?.at(1)}
|
{profileData?.lastName?.at(0)}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
@ -229,7 +229,9 @@ const MyProfile = () => {
|
|||||||
}}
|
}}
|
||||||
visible={showDeleteDialog}
|
visible={showDeleteDialog}
|
||||||
onDismiss={handleHideDeleteDialog}
|
onDismiss={handleHideDeleteDialog}
|
||||||
onConfirm={() => {console.log('delete account here')}}
|
onConfirm={() => {
|
||||||
|
console.log("delete account here");
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
);
|
);
|
||||||
|
@ -113,8 +113,8 @@ const HeaderTemplate = (props: {
|
|||||||
) : (
|
) : (
|
||||||
<View style={styles.pfp} center>
|
<View style={styles.pfp} center>
|
||||||
<Text style={styles.pfpTxt}>
|
<Text style={styles.pfpTxt}>
|
||||||
{user?.email?.at(0)}
|
{profileData?.firstName?.at(0)}
|
||||||
{user?.email?.at(1)}
|
{profileData?.lastName?.at(0)}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user