Bluesky app fork with some witchin' additions 💫

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

authored by

Spence Pope and committed by
GitHub
9b24d75c 398df1a4

+12
+6
src/view/com/notifications/NotificationFeed.tsx
··· 162 [isFetchingNextPage], 163 ) 164 165 return ( 166 <View style={s.hContentRegion}> 167 {error && (
··· 162 [isFetchingNextPage], 163 ) 164 165 + React.useEffect(() => { 166 + if (!enabled) { 167 + setIsPTRing(false) 168 + } 169 + }, [enabled]) 170 + 171 return ( 172 <View style={s.hContentRegion}> 173 {error && (
+6
src/view/com/posts/PostFeed.tsx
··· 683 blockedOrMutedAuthors, 684 ]) 685 686 // events 687 // = 688
··· 683 blockedOrMutedAuthors, 684 ]) 685 686 + useEffect(() => { 687 + if (enabled === false) { 688 + setIsPTRing(false) 689 + } 690 + }, [enabled]) 691 + 692 // events 693 // = 694