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 2c2c8fa991
commit fe0c9d19b4

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);
}
}