mirror of https://github.com/M66B/FairEmail.git
Improved debug info
This commit is contained in:
parent
b42b284e41
commit
1a15a1e931
|
@ -466,13 +466,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
if (debug) {
|
if (debug) {
|
||||||
String text = "error=" + message.error +
|
String text = "error=" + message.error +
|
||||||
"\n uid=" + message.uid + " id=" + message.id + " " + df.format(new Date(message.received)) +
|
"\nuid=" + message.uid + " id=" + message.id + " " + df.format(new Date(message.received)) +
|
||||||
"\n" + (message.ui_hide ? "HIDDEN " : "") +
|
"\n" + (message.ui_hide ? "HIDDEN " : "") +
|
||||||
"seen=" + message.seen + "/" + message.ui_seen + " unseen=" + message.unseen +
|
"seen=" + message.seen + "/" + message.ui_seen +
|
||||||
|
" unseen=" + message.unseen +
|
||||||
" found=" + message.ui_found +
|
" found=" + message.ui_found +
|
||||||
"\n msgid=" + message.msgid +
|
"\nmsgid=" + message.msgid +
|
||||||
"\n thread=" + message.thread +
|
"\nthread=" + message.thread +
|
||||||
"\n sender=" + message.sender;
|
"\nsender=" + message.sender;
|
||||||
|
|
||||||
tvError.setText(text);
|
tvError.setText(text);
|
||||||
tvError.setVisibility(View.VISIBLE);
|
tvError.setVisibility(View.VISIBLE);
|
||||||
|
|
Loading…
Reference in New Issue