Fix render bug on native

This commit is contained in:
Eric Bailey
2025-05-29 19:10:33 -05:00
parent 412b9943b5
commit 10a77f0614
2 changed files with 14 additions and 12 deletions
@@ -269,7 +269,7 @@ let PostThreadItemLoaded = ({
{item.ui.showChildReplyLine && (
<View
style={[
a.h_full,
a.flex_1,
t.atoms.border_contrast_low,
{
borderRightWidth: 2,
@@ -288,16 +288,18 @@ let PostThreadItemLoaded = ({
additionalCauses={additionalPostAlerts}
/>
{richText?.text ? (
<RichText
enableTags
value={richText}
style={[a.flex_1, a.text_md]}
numberOfLines={
limitLines ? MAX_POST_LINES : undefined
}
authorHandle={post.author.handle}
shouldProxyLinks={true}
/>
<View>
<RichText
enableTags
value={richText}
style={[a.flex_1, a.text_md]}
numberOfLines={
limitLines ? MAX_POST_LINES : undefined
}
authorHandle={post.author.handle}
shouldProxyLinks={true}
/>
</View>
) : undefined}
{limitLines ? (
<TextLink
+1 -1
View File
@@ -42,7 +42,7 @@ export function usePostThread({
const {data} = await agent.app.bsky.unspecced.getPostThreadV2({
anchor: params.anchor!,
branchingFactor: params.view === 'linear' ? 1 : undefined,
below: 10,
below: 4,
sort: params.sort,
prioritizeFollowedUsers: params.prioritizeFollowedUsers,
})