mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-10 14:15:15 +00:00
Added debug info
This commit is contained in:
parent
889e627dd0
commit
7ffb9ea2c3
1 changed files with 3 additions and 3 deletions
|
@ -103,12 +103,12 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|||
|
||||
tvSubject.setText(message.subject);
|
||||
|
||||
String extra = (debug ? (message.ui_hide ? "HIDDEN " : "") + message.uid + "/" + message.id + " " : "");
|
||||
if (viewType == ViewType.FOLDER) {
|
||||
String extra = (message.ui_hide ? "HIDDEN " : "") + message.uid + "/" + message.id;
|
||||
tvCount.setText((debug ? extra + " " : "") + Integer.toString(message.count));
|
||||
tvCount.setText(extra + Integer.toString(message.count));
|
||||
tvCount.setVisibility(debug || message.count > 1 ? View.VISIBLE : View.GONE);
|
||||
} else
|
||||
tvCount.setText(Helper.localizeFolderName(context, message.folderName));
|
||||
tvCount.setText(extra + Helper.localizeFolderName(context, message.folderName));
|
||||
|
||||
ivAttachments.setVisibility(message.attachments > 0 ? View.VISIBLE : View.GONE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue