Folder checks

This commit is contained in:
M66B
2018-10-21 14:53:39 +00:00
parent 3980cd6dd3
commit 157b37144d
4 changed files with 38 additions and 17 deletions

View File

@@ -844,7 +844,7 @@ public class FragmentCompose extends FragmentEx {
if (drafts == null)
drafts = db.folder().getPrimaryDrafts();
if (drafts == null)
throw new IllegalArgumentException("no drafts folder");
throw new IllegalArgumentException(getString(R.string.title_no_drafts));
String body = "";