mirror of
https://github.com/tooot-app/app
synced 2025-01-18 12:15:42 +01:00
Remove disable auto refetch
Now remote instance page has auto hide heading
This commit is contained in:
parent
120641b95e
commit
c44482aa75
@ -42,7 +42,6 @@ export interface Props {
|
||||
'notifyOnChangeProps' | 'getNextPageParam' | 'getPreviousPageParam' | 'select' | 'onSuccess'
|
||||
>
|
||||
disableRefresh?: boolean
|
||||
refreshAutoRefetch?: boolean
|
||||
disableInfinity?: boolean
|
||||
readMarker?: 'read_marker_following'
|
||||
customProps?: Partial<FlatListProps<any>>
|
||||
@ -53,7 +52,6 @@ const Timeline: React.FC<Props> = ({
|
||||
queryKey,
|
||||
queryOptions,
|
||||
disableRefresh = false,
|
||||
refreshAutoRefetch = true,
|
||||
disableInfinity = false,
|
||||
readMarker = undefined,
|
||||
customProps
|
||||
@ -156,7 +154,6 @@ const Timeline: React.FC<Props> = ({
|
||||
if (
|
||||
curr === true &&
|
||||
prev === false &&
|
||||
refreshAutoRefetch &&
|
||||
!isFetchingPrev.value &&
|
||||
fetchingType.value === 0 &&
|
||||
shouldAutoFetch.value &&
|
||||
|
@ -146,7 +146,6 @@ const Explore = ({ route: { key: page } }: { route: { key: 'Explore' } }) => {
|
||||
flRef={flRef}
|
||||
queryKey={queryKey}
|
||||
disableRefresh={!remoteActive}
|
||||
refreshAutoRefetch={false}
|
||||
customProps={{
|
||||
keyboardDismissMode: 'on-drag',
|
||||
keyboardShouldPersistTaps: 'always',
|
||||
|
Loading…
Reference in New Issue
Block a user