Browse Source

Allow moving to sent

main
M66B 6 years ago
parent
commit
37d0d7984e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      app/src/main/java/eu/faircode/email/FragmentMessage.java

+ 4
- 0
app/src/main/java/eu/faircode/email/FragmentMessage.java View File

@ -911,6 +911,10 @@ public class FragmentMessage extends FragmentEx {
}
});
EntityFolder sent = db.folder().getFolderByType(message.account, EntityFolder.SENT);
if (!message.folder.equals(sent.id))
folders.add(0, sent);
EntityFolder inbox = db.folder().getFolderByType(message.account, EntityFolder.INBOX);
if (!message.folder.equals(inbox.id))
folders.add(0, inbox);


Loading…
Cancel
Save