mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 14:11:00 +00:00
Fixed null subject
This commit is contained in:
parent
a6f3431b41
commit
81448029a9
1 changed files with 4 additions and 2 deletions
|
@ -1300,9 +1300,11 @@ public class FragmentCompose extends FragmentEx {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("reply".equals(action) || "reply_all".equals(action))
|
if ("reply".equals(action) || "reply_all".equals(action))
|
||||||
result.draft.subject = context.getString(R.string.title_subject_reply, ref.subject);
|
result.draft.subject = context.getString(R.string.title_subject_reply,
|
||||||
|
ref.subject == null ? "" : ref.subject);
|
||||||
else if ("forward".equals(action))
|
else if ("forward".equals(action))
|
||||||
result.draft.subject = context.getString(R.string.title_subject_forward, ref.subject);
|
result.draft.subject = context.getString(R.string.title_subject_forward,
|
||||||
|
ref.subject == null ? "" : ref.subject);
|
||||||
|
|
||||||
if (answer > 0 && ("reply".equals(action) || "reply_all".equals(action))) {
|
if (answer > 0 && ("reply".equals(action) || "reply_all".equals(action))) {
|
||||||
String text = db.answer().getAnswer(answer).text;
|
String text = db.answer().getAnswer(answer).text;
|
||||||
|
|
Loading…
Reference in a new issue