mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Improve refresh loading
This commit is contained in:
@ -228,11 +228,12 @@ const Timeline: React.FC<Props> = ({
|
||||
)
|
||||
}
|
||||
viewabilityConfigCallbackPairs={viewabilityConfigCallbackPairs.current}
|
||||
{...(!isLoading && {
|
||||
maintainVisibleContentPosition: {
|
||||
minIndexForVisible: 0
|
||||
}
|
||||
})}
|
||||
{...(!isLoading &&
|
||||
!isFetching && {
|
||||
maintainVisibleContentPosition: {
|
||||
minIndexForVisible: 0
|
||||
}
|
||||
})}
|
||||
{...androidRefreshControl}
|
||||
{...customProps}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user