Allow configuring account without drafts folder

This commit is contained in:
M66B
2020-08-20 20:06:36 +02:00
parent 72827e45bb
commit 1d99df3f6f
13 changed files with 39 additions and 59 deletions

View File

@@ -3646,7 +3646,7 @@ public class FragmentCompose extends FragmentBase {
EntityFolder drafts = db.folder().getFolderByType(selected.account, EntityFolder.DRAFTS);
if (drafts == null)
throw new IllegalArgumentException(context.getString(R.string.title_no_primary_drafts));
throw new IllegalArgumentException(context.getString(R.string.title_no_drafts));
data.draft.account = drafts.account;
data.draft.folder = drafts.id;