diff options
author | Eric Bailey <git@esb.lol> | 2024-09-12 13:56:25 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2024-09-12 13:56:25 -0500 |
commit | cc8e7b5ae5686cfc51ee015d94cd726997d3c01a (patch) | |
tree | 2a0cfa06c529eebdbc518899cccae92773e8559f /src/components/dialogs | |
parent | 1f2e4b26c0e6a01bf6a297b333ba7c7f96149006 (diff) | |
download | voidsky-cc8e7b5ae5686cfc51ee015d94cd726997d3c01a.tar.zst |
Handle display name
Diffstat (limited to 'src/components/dialogs')
-rw-r--r-- | src/components/dialogs/nuxs/TenMillion/index.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/dialogs/nuxs/TenMillion/index.tsx b/src/components/dialogs/nuxs/TenMillion/index.tsx index 786c635c1..6d80dd12a 100644 --- a/src/components/dialogs/nuxs/TenMillion/index.tsx +++ b/src/components/dialogs/nuxs/TenMillion/index.tsx @@ -417,7 +417,15 @@ export function TenMillionInner({userNumber}: {userNumber: number}) { /> */} <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( profile.displayName || sanitizeHandle(profile.handle), |