[APP-1876] Fix pull-to-refresh getting stuck on tab switch (#9951)

This commit is contained in:
Spence Pope
2026-02-26 05:06:30 -05:00
committed by GitHub
parent 398df1a4b5
commit 9b24d75c9c
2 changed files with 12 additions and 0 deletions
@@ -162,6 +162,12 @@ export function NotificationFeed({
[isFetchingNextPage],
)
React.useEffect(() => {
if (!enabled) {
setIsPTRing(false)
}
}, [enabled])
return (
<View style={s.hContentRegion}>
{error && (
+6
View File
@@ -683,6 +683,12 @@ let PostFeed = ({
blockedOrMutedAuthors,
])
useEffect(() => {
if (enabled === false) {
setIsPTRing(false)
}
}, [enabled])
// events
// =