1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Mark id on load

With the introduction of throttle, it is crucial to log on load otherwise there won't be much match after that
This commit is contained in:
xmflsct
2023-02-06 19:07:22 +01:00
parent 5d1459eba6
commit be2c223142

View File

@ -160,7 +160,7 @@ const Timeline: React.FC<Props> = ({
viewabilityConfig: { viewabilityConfig: {
minimumViewTime: 300, minimumViewTime: 300,
itemVisiblePercentThreshold: 80, itemVisiblePercentThreshold: 80,
waitForInteraction: true waitForInteraction: false
}, },
onViewableItemsChanged: ({ viewableItems }) => { onViewableItemsChanged: ({ viewableItems }) => {
const marker = readMarker ? getAccountStorage.string(readMarker) : undefined const marker = readMarker ? getAccountStorage.string(readMarker) : undefined