Switch to one default avi

This commit is contained in:
Paul Frazee 2022-09-28 14:00:40 -05:00
parent 5909509bea
commit e6627183e1
17 changed files with 25 additions and 67 deletions

View file

@ -6,7 +6,7 @@ import {FontAwesomeIcon, Props} from '@fortawesome/react-native-fontawesome'
import {NotificationsViewItemModel} from '../../../state/models/notifications-view'
import {s, colors} from '../../lib/styles'
import {ago} from '../../lib/strings'
import {AVIS} from '../../lib/assets'
import {DEF_AVATER} from '../../lib/assets'
import {PostText} from '../post/PostText'
import {Post} from '../post/Post'
import {Link} from '../util/Link'
@ -62,10 +62,7 @@ export const FeedItem = observer(function FeedItem({
<Link style={styles.outer} href={itemHref} title={itemTitle}>
<View style={styles.layout}>
<Link style={styles.layoutAvi} href={authorHref} title={authorTitle}>
<Image
style={styles.avi}
source={AVIS[item.author.name] || AVIS['alice.test']}
/>
<Image style={styles.avi} source={DEF_AVATER} />
</Link>
<View style={styles.layoutContent}>
<View style={styles.meta}>