Small behavior improvement

pull/161/head
M66B 5 years ago
parent 18bda701f8
commit 8c63b7fdc4

@ -894,9 +894,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
ivFlagged.setImageTintList(ColorStateList.valueOf(flagged > 0
? message.color == null || !ActivityBilling.isPro(context)
? colorAccent : message.color : textColorSecondary));
ivFlagged.setVisibility(flags && !message.folderReadOnly
? (message.uid == null ? View.INVISIBLE : View.VISIBLE)
: View.GONE);
ivFlagged.setVisibility(flags && !message.folderReadOnly ? View.VISIBLE : View.GONE);
ivFlagged.setEnabled(message.uid != null);
}
private void bindContactInfo(ContactInfo info, TupleMessageEx message) {

Loading…
Cancel
Save