Refactoring

This commit is contained in:
M66B
2018-08-09 07:02:41 +00:00
parent 7ea6ba1762
commit 659900f6d7
11 changed files with 64 additions and 64 deletions

View File

@@ -581,7 +581,7 @@ public class FragmentCompose extends FragmentEx {
else if ("trash".equals(action)) {
EntityOperation.queue(getContext(), draft, EntityOperation.DELETE);
EntityFolder trash = db.folder().getFolderByType(ident.account, EntityFolder.TYPE_TRASH);
EntityFolder trash = db.folder().getFolderByType(ident.account, EntityFolder.TRASH);
if (trash != null) {
draft.id = null;
draft.folder = trash.id;