Fix: remove duplicates in the TL caused by rendering reply parents
This commit is contained in:
parent
29020fbcee
commit
1b5c347667
2 changed files with 27 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue