Simplification

This commit is contained in:
M66B 2019-04-18 11:55:11 +02:00
parent 976efd379a
commit 7956e1a0e0
1 changed files with 1 additions and 4 deletions

View File

@ -2254,11 +2254,8 @@ public class FragmentCompose extends FragmentBase {
EntityFolder trash = db.folder().getFolderByType(draft.account, EntityFolder.TRASH);
if (empty || trash == null)
EntityOperation.queue(context, db, draft, EntityOperation.DELETE);
else {
EntityOperation.queue(context, db, draft, EntityOperation.SEEN, true);
draft.ui_seen = true;
else
EntityOperation.queue(context, db, draft, EntityOperation.MOVE, trash.id);
}
if (!empty) {
Handler handler = new Handler(context.getMainLooper());