From 82d547caf84c224e1f52d4b362c6a29aeb814f47 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sun, 21 Apr 2019 22:59:58 +0200 Subject: [PATCH] fix issue with avatar background recycling (#1209) --- .../com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java b/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java index 53cd96aa7..e3cd009ea 100644 --- a/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java +++ b/app/src/main/java/com/keylesspalace/tusky/adapter/StatusBaseViewHolder.java @@ -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); } }