No need to show initial toot in history

Nothing changed in there
This commit is contained in:
xmflsct 2023-01-12 21:12:51 +01:00
parent 2a19e1fc2a
commit 81b810496b
1 changed files with 9 additions and 7 deletions

View File

@ -161,13 +161,15 @@ const TabSharedHistory: React.FC<TabSharedStackScreenProps<'Tab-Shared-History'>
<FlatList <FlatList
style={{ flex: 1, minHeight: '100%' }} style={{ flex: 1, minHeight: '100%' }}
data={dataReversed} data={dataReversed}
renderItem={({ item, index }) => ( renderItem={({ item, index }) =>
<ContentView index === dataReversed.length - 1 ? null : (
withoutBoundary={withoutBoundary} <ContentView
item={item} withoutBoundary={withoutBoundary}
prevItem={dataReversed[index + 1]} item={item}
/> prevItem={dataReversed[index + 1]}
)} />
)
}
ItemSeparatorComponent={ComponentSeparator} ItemSeparatorComponent={ComponentSeparator}
/> />
) )