Skip to content

Commit

Permalink
fix(rn): contact edit nickname
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Mar 21, 2019
1 parent 56a72d6 commit 9d39853
Showing 1 changed file with 2 additions and 15 deletions.
Expand Up @@ -40,22 +40,9 @@ export default class Edit extends PureComponent {
</Badge>
}
/>
<Menu.Section title='Firstname'>
<Menu.Section title='Nickname'>
<Menu.Input
value={
(contact.overrideDisplayName || contact.displayName || '').split(
' '
)[0] || ''
}
/>
</Menu.Section>
<Menu.Section title='Lastname'>
<Menu.Input
value={
(contact.overrideDisplayName || contact.displayName || '').split(
' '
)[1] || ''
}
value={contact.overrideDisplayName || contact.displayName || ''}
/>
</Menu.Section>
</Menu>
Expand Down

0 comments on commit 9d39853

Please sign in to comment.