|
|
@ -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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|