Skip to content

Commit

Permalink
Don't render null phone number labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Oct 18, 2019
1 parent a8b1ec8 commit 8582127
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void setText(@Nullable Recipient recipient, int type, String name, Strin
} else {
this.numberView.setText(number);
this.nameView.setEnabled(true);
this.labelView.setText(label);
this.labelView.setText(label != null ? label : "");
this.labelView.setVisibility(View.VISIBLE);
}

Expand Down

0 comments on commit 8582127

Please sign in to comment.