mirror of https://github.com/M66B/FairEmail.git
Fixed from address not showing without avatars
This commit is contained in:
parent
d78afd757e
commit
fcf60f7fa5
|
@ -525,8 +525,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
Helper.unexpectedError(context, owner, ex);
|
Helper.unexpectedError(context, owner, ex);
|
||||||
}
|
}
|
||||||
}.execute(context, owner, aargs, "message:avatar");
|
}.execute(context, owner, aargs, "message:avatar");
|
||||||
} else
|
} else {
|
||||||
ivAvatar.setVisibility(View.GONE);
|
ivAvatar.setVisibility(View.GONE);
|
||||||
|
tvFrom.setText(MessageHelper.formatAddresses(outgoing ? message.to : message.from, !compact, false));
|
||||||
|
}
|
||||||
|
|
||||||
vwColor.setBackgroundColor(message.accountColor == null ? Color.TRANSPARENT : message.accountColor);
|
vwColor.setBackgroundColor(message.accountColor == null ? Color.TRANSPARENT : message.accountColor);
|
||||||
vwColor.setVisibility(View.VISIBLE);
|
vwColor.setVisibility(View.VISIBLE);
|
||||||
|
|
Loading…
Reference in New Issue