Skip to content

Commit

Permalink
Support emojis in settings account cards (#5487)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Sep 25, 2024
1 parent fd15bfe commit 6bc001a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/view/screens/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,14 @@ function SettingsAccountCard({
/>
</View>
<View style={[s.flex1]}>
<Text type="md-bold" style={[pal.text, a.self_start]} numberOfLines={1}>
<Text
emoji
type="md-bold"
style={[pal.text, a.self_start]}
numberOfLines={1}>
{profile?.displayName || account.handle}
</Text>
<Text type="sm" style={pal.textLight} numberOfLines={1}>
<Text emoji type="sm" style={pal.textLight} numberOfLines={1}>
{account.handle}
</Text>
</View>
Expand Down

0 comments on commit 6bc001a

Please sign in to comment.