fix: truncate long email address (#2493)
parent
a0e345fa01
commit
40c757afa9
|
@ -320,8 +320,14 @@ export function SettingsScreen({}: Props) {
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Text type="lg" style={pal.text}>
|
<Text
|
||||||
{currentAccount.email || '(no email)'}{' '}
|
type="lg"
|
||||||
|
numberOfLines={1}
|
||||||
|
style={[
|
||||||
|
pal.text,
|
||||||
|
{overflow: 'hidden', marginRight: 4, flex: 1},
|
||||||
|
]}>
|
||||||
|
{currentAccount.email || '(no email)'}
|
||||||
</Text>
|
</Text>
|
||||||
<Link onPress={() => openModal({name: 'change-email'})}>
|
<Link onPress={() => openModal({name: 'change-email'})}>
|
||||||
<Text type="lg" style={pal.link}>
|
<Text type="lg" style={pal.link}>
|
||||||
|
|
Loading…
Reference in New Issue