Fix: remove duplicates in the TL caused by rendering reply parents

This commit is contained in:
Paul Frazee 2023-01-16 14:49:58 -06:00
parent 29020fbcee
commit 1b5c347667
2 changed files with 27 additions and 1 deletions

View file

@ -96,7 +96,8 @@ export const FeedItem = observer(function ({
return <View />
}
const isChild = item._isThreadChild || (!item.reason && item.reply)
const isChild =
item._isThreadChild || (!item.reason && !item._hideParent && item.reply)
const isSmallTop = isChild && item._isThreadChild
const isNoTop = isChild && !item._isThreadChild
const outerStyles = [