Skip to content

Commit

Permalink
simplify conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jul 20, 2021
1 parent acd7df5 commit 0be9de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/DetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const DetailsPage = ({
/>
{details.displayName && (
<Text style={[styles.displayName, styles.mb6]} numberOfLines={1}>
{isSMSLogin ? toLocalPhone(details.displayName) : details.displayName || null}
{isSMSLogin ? toLocalPhone(details.displayName) : details.displayName}
</Text>
)}
{details.login ? (
Expand Down

0 comments on commit 0be9de3

Please sign in to comment.