Hopefully feature-complete Android Bluesky client written in Expo
atproto bluesky

Scroll to top on pressing the header in Profile

Changed files
+7 -3
src
app
(authenticated)
profile
+7 -3
src/app/(authenticated)/profile/[userId].tsx
··· 94 94 const res = await ok( 95 95 client.get("app.bsky.feed.getAuthorFeed", { 96 96 signal, 97 - params: { actor: queryKey[1] as ActorIdentifier, cursor: pageParam, filter: "posts_no_replies" }, 97 + params: { actor: queryKey[1] as ActorIdentifier, cursor: pageParam, filter: "posts_and_author_threads" }, 98 98 headers: { "atproto-accept-labelers": labelersDids.join(", ") }, 99 99 }) 100 100 ); ··· 184 184 185 185 </Text> 186 186 </Pressable> 187 - <View> 187 + <Pressable 188 + onPress={() => { 189 + flashListRef.current!.scrollToTop({ animated: true }); 190 + }} 191 + > 188 192 <Text style={{ color: colorScheme === "light" ? "black" : "white", fontWeight: 700, fontSize: 14 }}> 189 193 {profileQuery.data?.displayName} 190 194 </Text> 191 195 <Text style={{ color: colorScheme === "light" ? "black" : "white", fontSize: 14 }}> 192 196 {"@" + profileQuery.data?.handle} 193 197 </Text> 194 - </View> 198 + </Pressable> 195 199 </Animated.View> 196 200 <View style={{ height: "100%" }}> 197 201 <FlashList