Enlarge avatars in the notifications

zio/stable
Paul Frazee 2023-01-18 17:06:17 -06:00
parent bda32c1ceb
commit 27ee550d15
1 changed files with 5 additions and 4 deletions

View File

@ -133,11 +133,11 @@ export const FeedItem = observer(function FeedItem({
<View style={styles.layout}> <View style={styles.layout}>
<View style={styles.layoutIcon}> <View style={styles.layoutIcon}>
{icon === 'HeartIconSolid' ? ( {icon === 'HeartIconSolid' ? (
<HeartIconSolid size={26} style={[styles.icon, ...iconStyle]} /> <HeartIconSolid size={28} style={[styles.icon, ...iconStyle]} />
) : ( ) : (
<FontAwesomeIcon <FontAwesomeIcon
icon={icon} icon={icon}
size={22} size={24}
style={[styles.icon, ...iconStyle]} style={[styles.icon, ...iconStyle]}
/> />
)} )}
@ -146,12 +146,12 @@ export const FeedItem = observer(function FeedItem({
<View style={styles.avis}> <View style={styles.avis}>
{authors.slice(0, MAX_AUTHORS).map(author => ( {authors.slice(0, MAX_AUTHORS).map(author => (
<Link <Link
style={{marginRight: 3}} style={{marginRight: 5}}
key={author.href} key={author.href}
href={author.href} href={author.href}
title={`@${author.handle}`}> title={`@${author.handle}`}>
<UserAvatar <UserAvatar
size={30} size={35}
displayName={author.displayName} displayName={author.displayName}
handle={author.handle} handle={author.handle}
avatar={author.avatar} avatar={author.avatar}
@ -241,6 +241,7 @@ const styles = StyleSheet.create({
layoutIcon: { layoutIcon: {
width: 60, width: 60,
alignItems: 'flex-end', alignItems: 'flex-end',
paddingTop: 2,
}, },
icon: { icon: {
marginRight: 10, marginRight: 10,