Tune up the custom feed card rendering

This commit is contained in:
Paul Frazee 2023-05-17 14:24:27 -05:00
parent 3d09008bfd
commit a4c6dd6b1e
4 changed files with 44 additions and 54 deletions

View file

@ -25,7 +25,7 @@ import {FAB} from '../com/util/fab/FAB'
import {s, colors} from 'lib/styles'
import {useAnalytics} from 'lib/analytics'
import {ComposeIcon2} from 'lib/icons'
import CustomFeed from 'view/com/feeds/CustomFeed'
import {CustomFeed} from 'view/com/feeds/CustomFeed'
import {CustomFeedModel} from 'state/models/feeds/custom-feed'
import {useSetTitle} from 'lib/hooks/useSetTitle'
import {combinedDisplayName} from 'lib/strings/display-names'
@ -189,7 +189,7 @@ export const ProfileScreen = withAuthRequired(
<FeedSlice slice={item} ignoreMuteFor={uiState.profile.did} />
)
} else if (item instanceof CustomFeedModel) {
return <CustomFeed item={item} />
return <CustomFeed item={item} showLikes />
}
}
return <View />