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