Improve UI

This commit is contained in:
Adolfo Reyna
2023-08-08 22:28:07 -04:00
parent 0c8aa9fc21
commit e539e05c6e
3 changed files with 16 additions and 19 deletions

View File

@@ -29,7 +29,7 @@ const ProfileHeader = ({ profileid, withName = false, small = false }) => {
return (
<View style={styles.container}>
<View style={styles.avatarContainer}>
<Avatar.Image size={small ? 20 : 30} source={{ uri: photoUrl }} onPress={onPress} />
<Avatar.Image size={small ? 20 : 35} source={{ uri: photoUrl }} onPress={onPress} style={{marginLeft:-4}}/>
</View>
<View style={styles.textContainer}>
<Text style={small ? styles.smallProfileName : styles.profileName} onPress={onPress}>{fullName}</Text>
@@ -42,7 +42,6 @@ const ProfileHeader = ({ profileid, withName = false, small = false }) => {
const styles = StyleSheet.create({
container: {
flexDirection: 'row',
alignItems: 'center',
},
avatarContainer: {
marginRight: 5,