fix issue with avatar background recycling (#1209)

This commit is contained in:
Konrad Pozniak 2019-04-21 22:59:58 +02:00 committed by GitHub
parent 5aa3f958a8
commit 82d547caf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
avatarInset.setImageResource(R.drawable.ic_bot_24dp);
avatarInset.setBackgroundColor(0x50ffffff);
} else {
avatarInset.setBackground(null);
avatarInset.setVisibility(View.GONE);
}
}