Clean up the custom-feed model

This commit is contained in:
Paul Frazee 2023-05-17 14:55:04 -05:00
parent 9c02fbb925
commit 2fd3b4ca04
5 changed files with 48 additions and 92 deletions

View file

@ -188,7 +188,7 @@ export function UserAvatar({
accessibilityRole="image"
/>
) : (
<DefaultAvatar size={size} />
<DefaultAvatar type={type} size={size} />
)}
<View style={[styles.editButtonContainer, pal.btn]}>
<FontAwesomeIcon

View file

@ -170,6 +170,7 @@ export function PostEmbeds({
AppBskyEmbedRecord.isView(embed) &&
AppBskyFeedDefs.isGeneratorView(embed.record)
) {
// TODO memoize this?
return (
<CustomFeed
item={new CustomFeedModel(store, embed.record)}