mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Added headers for attached messages
This commit is contained in:
@@ -1999,6 +1999,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
Element div = document.createElement("div");
|
||||
div.appendElement("hr");
|
||||
|
||||
Element h = document.createElement("p");
|
||||
h.attr("style", "text-align: center;");
|
||||
|
||||
Element em = document.createElement("em");
|
||||
em.text(TextUtils.isEmpty(attachment.name)
|
||||
? context.getString(R.string.title_attachment_eml) : attachment.name);
|
||||
h.appendChild(em);
|
||||
|
||||
div.appendChild(h);
|
||||
|
||||
Element p = embedded.getReplyHeader(context, document, true);
|
||||
div.appendChild(p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user