mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Improve error message
This commit is contained in:
@@ -1064,7 +1064,7 @@ public class FragmentCompose extends FragmentEx {
|
||||
if (aid < 0) {
|
||||
result.account = db.account().getPrimaryAccount();
|
||||
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
|
||||
result.account = db.account().getAccount(aid);
|
||||
} else {
|
||||
@@ -1815,4 +1815,4 @@ public class FragmentCompose extends FragmentEx {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user