1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Added debug info

This commit is contained in:
M66B 2020-04-16 11:18:25 +02:00
parent e00e4d90ed
commit 2d0fe5433a

View file

@ -982,7 +982,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (viewType == ViewType.FOLDER)
tvFolder.setText(outbox ? message.identityEmail : message.accountName);
else if (viewType == ViewType.THREAD || viewType == ViewType.SEARCH)
tvFolder.setText(message.getFolderName(context));
tvFolder.setText(message.getFolderName(context) +
(BuildConfig.DEBUG ? ":" + message.id : ""));
else
tvFolder.setText(message.accountName + "/" + message.getFolderName(context));
@ -4920,7 +4921,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (properties.getValue("expanded", id)) {
Context context = parentFragment.getContext();
if (context != null)
ToastEx.makeText(context, msg, Toast.LENGTH_SHORT).show();
ToastEx.makeText(context, msg + " id=" + id, Toast.LENGTH_SHORT).show();
}
}
});