From 89f8b87582fbbf1a53d265714eeb39b3654f0be7 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 3 May 2018 18:30:44 +0200 Subject: [PATCH] fixed regression of not highlighting current conversation in overview. fixes #3001 --- .../conversations/ui/adapter/ConversationAdapter.java | 10 ++++++++-- src/main/res/layout/conversation_list_row.xml | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java index 4de873b2f..ef959a8af 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java @@ -13,6 +13,7 @@ import android.util.Pair; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.TextView; @@ -24,7 +25,9 @@ import eu.siacs.conversations.R; import eu.siacs.conversations.entities.Conversation; import eu.siacs.conversations.entities.Message; import eu.siacs.conversations.entities.Transferable; +import eu.siacs.conversations.ui.ConversationFragment; import eu.siacs.conversations.ui.XmppActivity; +import eu.siacs.conversations.ui.util.Color; import eu.siacs.conversations.ui.widget.UnreadCountCustomView; import eu.siacs.conversations.utils.EmojiWrapper; import eu.siacs.conversations.utils.IrregularUnicodeDetector; @@ -72,8 +75,7 @@ public class ConversationAdapter extends RecyclerView.Adapter