diff --git a/App/Components/GroupCard/index.tsx b/App/Components/GroupCard/index.tsx index e6eb7f459..733c576bb 100644 --- a/App/Components/GroupCard/index.tsx +++ b/App/Components/GroupCard/index.tsx @@ -65,7 +65,7 @@ const GroupCard = (props: ScreenProps) => { { members.slice(0, 8).map((mem: pb.IContact, i: number) => { const imageStyle = cardImageStyle(members.length, i) - return () + return () })} diff --git a/App/Containers/Account.tsx b/App/Containers/Account.tsx index 657e40654..8baf2c063 100644 --- a/App/Containers/Account.tsx +++ b/App/Containers/Account.tsx @@ -40,7 +40,7 @@ class Account extends Component { } const mapStateToProps = (state: RootState): StateProps => ({ - username: state.account.profile.value ? state.account.profile.value.username || state.account.profile.value.id : 'unknown' + username: state.account.profile.value ? state.account.profile.value.name || state.account.profile.value.address : 'unknown' }) export default connect(mapStateToProps, undefined)(Account) diff --git a/App/Containers/AddContact.tsx b/App/Containers/AddContact.tsx index 662c1df6f..0e513001c 100644 --- a/App/Containers/AddContact.tsx +++ b/App/Containers/AddContact.tsx @@ -132,8 +132,8 @@ class AddContact extends React.Component { return ( } - title={item.data.contact.username || item.data.contact.id} - subtitle={item.data.contact.id.substr(item.data.contact.id.length - 8, 8)} + title={item.data.contact.name || item.data.contact.address} + subtitle={item.data.contact.address.substr(item.data.contact.address.length - 8, 8)} rightItems={[