From 9b24d75c9c3a13e424670758b5f5f4767b91f443 Mon Sep 17 00:00:00 2001 From: Spence Pope Date: Thu, 26 Feb 2026 05:06:30 -0500 Subject: [PATCH] [APP-1876] Fix pull-to-refresh getting stuck on tab switch (#9951) --- src/view/com/notifications/NotificationFeed.tsx | 6 ++++++ src/view/com/posts/PostFeed.tsx | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/view/com/notifications/NotificationFeed.tsx b/src/view/com/notifications/NotificationFeed.tsx index fb7d982eaa..2347f9ebe0 100644 --- a/src/view/com/notifications/NotificationFeed.tsx +++ b/src/view/com/notifications/NotificationFeed.tsx @@ -162,6 +162,12 @@ export function NotificationFeed({ [isFetchingNextPage], ) + React.useEffect(() => { + if (!enabled) { + setIsPTRing(false) + } + }, [enabled]) + return ( {error && ( diff --git a/src/view/com/posts/PostFeed.tsx b/src/view/com/posts/PostFeed.tsx index 9ae241f9ba..903d68f04b 100644 --- a/src/view/com/posts/PostFeed.tsx +++ b/src/view/com/posts/PostFeed.tsx @@ -683,6 +683,12 @@ let PostFeed = ({ blockedOrMutedAuthors, ]) + useEffect(() => { + if (enabled === false) { + setIsPTRing(false) + } + }, [enabled]) + // events // =