1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Suppress thread count for one message

This commit is contained in:
M66B 2021-02-08 12:19:40 +01:00
parent f355b7df00
commit a6565ba328

View file

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