mirror of https://github.com/tooot-app/app
Update index.tsx
This commit is contained in:
parent
da623dac56
commit
7b6c9d5130
|
@ -380,8 +380,8 @@ const Timeline: React.FC<Props> = ({
|
||||||
if (readMarker) {
|
if (readMarker) {
|
||||||
setAccountStorage([{ key: readMarker, value: undefined }])
|
setAccountStorage([{ key: readMarker, value: undefined }])
|
||||||
}
|
}
|
||||||
|
flRef.current?.scrollToOffset({ offset: 0 })
|
||||||
await refetch()
|
await refetch()
|
||||||
setTimeout(() => flRef.current?.scrollToOffset({ offset: 0 }), 50)
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<CustomText
|
<CustomText
|
||||||
|
|
Loading…
Reference in New Issue