1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Improved breadcrumb

This commit is contained in:
M66B 2020-12-01 10:03:48 +01:00
parent 9543eef292
commit 4105ec16fe

View file

@ -4386,6 +4386,8 @@ public class FragmentCompose extends FragmentBase {
Map<String, String> crumb = new HashMap<>();
crumb.put("draft", draft.folder + ":" + draft.id);
crumb.put("content", Boolean.toString(draft.content));
crumb.put("revision", Integer.toString(draft.revision == null ? -1 : draft.revision));
crumb.put("revisions", Integer.toString(draft.revisions == null ? -1 : draft.revisions));
crumb.put("file", Boolean.toString(draft.getFile(context).exists()));
crumb.put("action", getActionName(action));
Log.breadcrumb("compose", crumb);