Remove disable auto refetch

Now remote instance page has auto hide heading
This commit is contained in:
xmflsct 2023-02-27 18:56:36 +01:00
parent 120641b95e
commit c44482aa75
2 changed files with 0 additions and 4 deletions

View File

@ -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 &&

View File

@ -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',