Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Fix checkmark overflow in profile card (#8612)

authored by

Samuel Newman and committed by
GitHub
08a1a806 964eed54

+9 -3
+9 -3
src/components/ProfileCard.tsx
··· 1 - import React from 'react' 1 + import {useMemo} from 'react' 2 2 import {type GestureResponderEvent, View} from 'react-native' 3 3 import { 4 4 moderateProfile, ··· 277 277 <View style={[a.flex_row, a.align_center]}> 278 278 <Text 279 279 emoji 280 - style={[a.text_md, a.font_bold, a.leading_snug, a.self_start]} 280 + style={[ 281 + a.text_md, 282 + a.font_bold, 283 + a.leading_snug, 284 + a.self_start, 285 + a.flex_shrink, 286 + ]} 281 287 numberOfLines={1}> 282 288 {name} 283 289 </Text> ··· 345 351 numberOfLines?: number 346 352 }) { 347 353 const profile = useProfileShadow(profileUnshadowed) 348 - const rt = React.useMemo(() => { 354 + const rt = useMemo(() => { 349 355 if (!('description' in profile)) return 350 356 const rt = new RichTextApi({text: profile.description || ''}) 351 357 rt.detectFacetsWithoutResolution()