mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
fix showing wrong badges
This commit is contained in:
parent
35e683546c
commit
bdc549eee7
1 changed files with 2 additions and 0 deletions
|
@ -339,6 +339,8 @@ class ContactListAdapter extends ArrayAdapter<VCard> {
|
||||||
Drawable drawable = new BitmapDrawable(BitmapFactory.decodeByteArray(data, 0, data.length));
|
Drawable drawable = new BitmapDrawable(BitmapFactory.decodeByteArray(data, 0, data.length));
|
||||||
|
|
||||||
viewHolder.badge.setImageDrawable(drawable);
|
viewHolder.badge.setImageDrawable(drawable);
|
||||||
|
} else {
|
||||||
|
viewHolder.badge.setImageToDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
// name
|
// name
|
||||||
|
|
Loading…
Reference in a new issue