Improve error message

pull/147/head
M66B 6 years ago
parent 5374a7422a
commit fbc65f53de

@ -1064,7 +1064,7 @@ public class FragmentCompose extends FragmentEx {
if (aid < 0) { if (aid < 0) {
result.account = db.account().getPrimaryAccount(); result.account = db.account().getPrimaryAccount();
if (result.account == null) if (result.account == null)
throw new IllegalArgumentException(context.getString(R.string.title_no_account)); throw new IllegalArgumentException(context.getString(R.string.title_no_primary_drafts));
} else } else
result.account = db.account().getAccount(aid); result.account = db.account().getAccount(aid);
} else { } else {
@ -1815,4 +1815,4 @@ public class FragmentCompose extends FragmentEx {
return true; return true;
} }
}; };
} }

Loading…
Cancel
Save