Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

TranslatedPost for mastodon posts

uwx 530740b5 ce1ce00c

+25 -22
+23 -22
src/screens/PostThread/components/ThreadItemAnchor.tsx
··· 51 51 import {PdsBadge} from '#/components/PdsBadge' 52 52 import {type AppModerationCause} from '#/components/Pills' 53 53 import {Embed, PostEmbedViewContext} from '#/components/Post/Embed' 54 - import {TranslatedPost} from '#/components/Post/Translated' 55 54 import { 56 55 MastodonHtmlContent, 57 56 useHasMastodonHtmlContent, 58 57 } from '#/components/Post/MastodonHtmlContent' 58 + import {TranslatedPost} from '#/components/Post/Translated' 59 59 import {PostControls, PostControlsSkeleton} from '#/components/PostControls' 60 60 import {useFormatPostStatCount} from '#/components/PostControls/util' 61 61 import {ProfileBadges} from '#/components/ProfileBadges' ··· 420 420 style={[a.flex_1]} 421 421 textStyle={[a.text_lg]} 422 422 /> 423 + <TranslatedPost post={post} postTextStyle={[a.text_lg]} /> 423 424 {post.embed && ( 424 425 <View style={[a.py_xs]}> 425 426 <Embed ··· 433 434 </> 434 435 ) : ( 435 436 <> 436 - {richText?.text ? ( 437 - <RichText 438 - enableTags 439 - selectable 440 - value={richText} 441 - style={[a.flex_1, a.text_lg]} 442 - authorHandle={post.author.handle} 443 - shouldProxyLinks={true} 444 - /> 445 - ) : undefined} 446 - <TranslatedPost post={post} postTextStyle={[a.text_lg]} /> 447 - {post.embed && ( 448 - <View style={[a.py_xs]}> 449 - <Embed 450 - embed={post.embed} 451 - moderation={moderation} 452 - viewContext={PostEmbedViewContext.ThreadHighlighted} 453 - onOpen={onOpenEmbed} 454 - /> 455 - </View> 456 - )} 437 + {richText?.text ? ( 438 + <RichText 439 + enableTags 440 + selectable 441 + value={richText} 442 + style={[a.flex_1, a.text_lg]} 443 + authorHandle={post.author.handle} 444 + shouldProxyLinks={true} 445 + /> 446 + ) : undefined} 447 + <TranslatedPost post={post} postTextStyle={[a.text_lg]} /> 448 + {post.embed && ( 449 + <View style={[a.py_xs]}> 450 + <Embed 451 + embed={post.embed} 452 + moderation={moderation} 453 + viewContext={PostEmbedViewContext.ThreadHighlighted} 454 + onOpen={onOpenEmbed} 455 + /> 456 + </View> 457 + )} 457 458 </> 458 459 )} 459 460 </ContentHider>
+1
src/screens/PostThread/components/ThreadItemPost.tsx
··· 316 316 textStyle={[a.text_md]} 317 317 numberOfLines={limitLines ? MAX_POST_LINES : undefined} 318 318 /> 319 + <TranslatedPost hideTranslateLink post={post} /> 319 320 {post.embed && ( 320 321 <View style={[a.pb_xs]}> 321 322 <Embed
+1
src/view/com/posts/PostFeedItem.tsx
··· 493 493 textStyle={[a.text_md]} 494 494 numberOfLines={limitLines ? MAX_POST_LINES : undefined} 495 495 /> 496 + {record && <TranslatedPost hideTranslateLink post={post} />} 496 497 {postEmbed ? ( 497 498 <View style={[a.pb_xs]}> 498 499 <Embed