mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 10:40:11 -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);
|
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)
|
if (holder.preview != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user