fix showing wrong badges

This commit is contained in:
tobiasKaminsky 2017-04-12 14:59:20 +02:00
parent 35e683546c
commit bdc549eee7
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -339,6 +339,8 @@ class ContactListAdapter extends ArrayAdapter<VCard> {
Drawable drawable = new BitmapDrawable(BitmapFactory.decodeByteArray(data, 0, data.length));
viewHolder.badge.setImageDrawable(drawable);
} else {
viewHolder.badge.setImageToDefault();
}
// name