Suppress thread count for one message

This commit is contained in:
M66B 2021-02-08 12:19:40 +01:00
parent f355b7df00
commit a6565ba328
1 changed files with 2 additions and 2 deletions

View File

@ -1104,8 +1104,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
tvCount.setVisibility(View.GONE); tvCount.setVisibility(View.GONE);
ivThread.setVisibility(View.GONE); ivThread.setVisibility(View.GONE);
} else { } else {
tvCount.setVisibility(threading ? View.VISIBLE : View.GONE); tvCount.setVisibility(threading && message.visible > 1 ? View.VISIBLE : View.GONE);
ivThread.setVisibility(View.VISIBLE); ivThread.setVisibility(selected || message.visible > 1 ? View.VISIBLE : View.GONE);
if (threading_unread) if (threading_unread)
tvCount.setText(context.getString(R.string.title_of, tvCount.setText(context.getString(R.string.title_of,