Handle display name

zio/dev^2
Eric Bailey 2024-09-12 13:56:25 -05:00
parent 1f2e4b26c0
commit cc8e7b5ae5
1 changed files with 9 additions and 1 deletions

View File

@ -417,7 +417,15 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
/> />
*/} */}
<View style={[a.gap_2xs, a.flex_1]}> <View style={[a.gap_2xs, a.flex_1]}>
<Text style={[a.text_sm, a.font_bold, a.leading_tight]}> <Text
numberOfLines={1}
style={[
a.flex_1,
a.text_sm,
a.font_bold,
a.leading_snug,
{maxWidth: '60%'},
]}>
{sanitizeDisplayName( {sanitizeDisplayName(
profile.displayName || profile.displayName ||
sanitizeHandle(profile.handle), sanitizeHandle(profile.handle),