From fe0c9d19b43c6e6fdcab8e311b30332d228e641b 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 53cd96aa..e3cd009e 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); } }