mirror of https://github.com/M66B/FairEmail.git
Small behavior improvement
This commit is contained in:
parent
18bda701f8
commit
8c63b7fdc4
|
@ -894,9 +894,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
ivFlagged.setImageTintList(ColorStateList.valueOf(flagged > 0
|
ivFlagged.setImageTintList(ColorStateList.valueOf(flagged > 0
|
||||||
? message.color == null || !ActivityBilling.isPro(context)
|
? message.color == null || !ActivityBilling.isPro(context)
|
||||||
? colorAccent : message.color : textColorSecondary));
|
? colorAccent : message.color : textColorSecondary));
|
||||||
ivFlagged.setVisibility(flags && !message.folderReadOnly
|
ivFlagged.setVisibility(flags && !message.folderReadOnly ? View.VISIBLE : View.GONE);
|
||||||
? (message.uid == null ? View.INVISIBLE : View.VISIBLE)
|
ivFlagged.setEnabled(message.uid != null);
|
||||||
: View.GONE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void bindContactInfo(ContactInfo info, TupleMessageEx message) {
|
private void bindContactInfo(ContactInfo info, TupleMessageEx message) {
|
||||||
|
|
Loading…
Reference in New Issue