Add 'algo' variant of avatars
This commit is contained in:
parent
85910cdbea
commit
a2b089d315
4 changed files with 53 additions and 21 deletions
|
@ -67,7 +67,11 @@ const ListHeaderComponent = observer(({uri}: {uri: string}) => {
|
|||
<View style={[styles.headerContainer]}>
|
||||
<View style={[styles.header]}>
|
||||
<View style={styles.avatarContainer}>
|
||||
<UserAvatar size={28} avatar={currentFeed?.data.creator.avatar} />
|
||||
<UserAvatar
|
||||
type="algo"
|
||||
size={28}
|
||||
avatar={currentFeed?.data.creator.avatar}
|
||||
/>
|
||||
<Link href={`/profile/${currentFeed?.data.creator.handle}`}>
|
||||
<Text style={[pal.textLight]}>
|
||||
@{currentFeed?.data.creator.handle}
|
||||
|
|
|
@ -146,7 +146,11 @@ const ListHeaderComponent = observer(
|
|||
})
|
||||
}}
|
||||
style={styles.pinnedItem}>
|
||||
<UserAvatar avatar={item.data.avatar} size={80} />
|
||||
<UserAvatar
|
||||
type="algo"
|
||||
avatar={item.data.avatar}
|
||||
size={80}
|
||||
/>
|
||||
<Text
|
||||
type="sm-medium"
|
||||
numberOfLines={1}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue