mirror of
https://github.com/tooot-app/app
synced 2025-01-05 14:07:44 +01:00
No need to show initial toot in history
Nothing changed in there
This commit is contained in:
parent
2a19e1fc2a
commit
81b810496b
@ -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 }) =>
|
||||||
|
index === dataReversed.length - 1 ? null : (
|
||||||
<ContentView
|
<ContentView
|
||||||
withoutBoundary={withoutBoundary}
|
withoutBoundary={withoutBoundary}
|
||||||
item={item}
|
item={item}
|
||||||
prevItem={dataReversed[index + 1]}
|
prevItem={dataReversed[index + 1]}
|
||||||
/>
|
/>
|
||||||
)}
|
)
|
||||||
|
}
|
||||||
ItemSeparatorComponent={ComponentSeparator}
|
ItemSeparatorComponent={ComponentSeparator}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user