1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-02 00:25:10 -04:00

Show "(No subject)" in the message list for mails without subject.

This commit is contained in:
cketti 2010-05-01 23:12:27 +00:00
parent 7cb0797afc
commit fd26ec475a

View File

@ -2059,7 +2059,14 @@ public class MessageList
view.getBackground().setAlpha(127);
}
holder.subject.setText(message.subject);
if (message.subject == null || message.subject.equals(""))
{
holder.subject.setText(getText(R.string.general_no_subject));
}
else
{
holder.subject.setText(message.subject);
}
if (holder.preview != null)
{