mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -05:00
Show "(No subject)" in the message list for mails without subject.
This commit is contained in:
parent
7cb0797afc
commit
fd26ec475a
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user