|
|
@ -369,6 +369,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
private ImageButton ibReceipt;
|
|
|
|
private ImageButton ibReceipt;
|
|
|
|
private ImageView ivAutoSubmitted;
|
|
|
|
private ImageView ivAutoSubmitted;
|
|
|
|
private ImageView ivBrowsed;
|
|
|
|
private ImageView ivBrowsed;
|
|
|
|
|
|
|
|
private ImageView ivRaw;
|
|
|
|
|
|
|
|
|
|
|
|
private ImageButton ibSearchContact;
|
|
|
|
private ImageButton ibSearchContact;
|
|
|
|
private ImageButton ibNotifyContact;
|
|
|
|
private ImageButton ibNotifyContact;
|
|
|
@ -763,6 +764,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
ibReceipt = vsBody.findViewById(R.id.ibReceipt);
|
|
|
|
ibReceipt = vsBody.findViewById(R.id.ibReceipt);
|
|
|
|
ivAutoSubmitted = vsBody.findViewById(R.id.ivAutoSubmitted);
|
|
|
|
ivAutoSubmitted = vsBody.findViewById(R.id.ivAutoSubmitted);
|
|
|
|
ivBrowsed = vsBody.findViewById(R.id.ivBrowsed);
|
|
|
|
ivBrowsed = vsBody.findViewById(R.id.ivBrowsed);
|
|
|
|
|
|
|
|
ivRaw = vsBody.findViewById(R.id.ivRaw);
|
|
|
|
|
|
|
|
|
|
|
|
ibSearchContact = vsBody.findViewById(R.id.ibSearchContact);
|
|
|
|
ibSearchContact = vsBody.findViewById(R.id.ibSearchContact);
|
|
|
|
ibNotifyContact = vsBody.findViewById(R.id.ibNotifyContact);
|
|
|
|
ibNotifyContact = vsBody.findViewById(R.id.ibNotifyContact);
|
|
|
@ -1579,6 +1581,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
ibReceipt.setVisibility(View.GONE);
|
|
|
|
ibReceipt.setVisibility(View.GONE);
|
|
|
|
ivAutoSubmitted.setVisibility(View.GONE);
|
|
|
|
ivAutoSubmitted.setVisibility(View.GONE);
|
|
|
|
ivBrowsed.setVisibility(View.GONE);
|
|
|
|
ivBrowsed.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
ivRaw.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
ibSearchContact.setVisibility(View.GONE);
|
|
|
|
ibSearchContact.setVisibility(View.GONE);
|
|
|
|
ibNotifyContact.setVisibility(View.GONE);
|
|
|
|
ibNotifyContact.setVisibility(View.GONE);
|
|
|
@ -2237,6 +2240,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
ibReceipt.setImageTintList(ColorStateList.valueOf(message.ui_answered ? colorControlNormal : colorError));
|
|
|
|
ibReceipt.setImageTintList(ColorStateList.valueOf(message.ui_answered ? colorControlNormal : colorError));
|
|
|
|
ivAutoSubmitted.setVisibility(show_addresses && message.auto_submitted != null && message.auto_submitted ? View.VISIBLE : View.GONE);
|
|
|
|
ivAutoSubmitted.setVisibility(show_addresses && message.auto_submitted != null && message.auto_submitted ? View.VISIBLE : View.GONE);
|
|
|
|
ivBrowsed.setVisibility(show_addresses && message.ui_browsed ? View.VISIBLE : View.GONE);
|
|
|
|
ivBrowsed.setVisibility(show_addresses && message.ui_browsed ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
ivRaw.setVisibility(BuildConfig.DEBUG && Boolean.TRUE.equals(message.raw) ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
boolean button_search = prefs.getBoolean("button_search", false);
|
|
|
|
boolean button_search = prefs.getBoolean("button_search", false);
|
|
|
|
ibSearchContact.setVisibility(show_addresses && (froms > 0 || tos > 0) && !button_search ? View.VISIBLE : View.GONE);
|
|
|
|
ibSearchContact.setVisibility(show_addresses && (froms > 0 || tos > 0) && !button_search ? View.VISIBLE : View.GONE);
|
|
|
|