mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Set abs title to (no subject) if the message has no subject.
This commit is contained in:
parent
ed693fc01a
commit
31461bc657
@ -929,7 +929,12 @@ public class MessageView extends K9Activity implements OnClickListener {
|
||||
mMessageView.showStatusMessage(text);
|
||||
}
|
||||
mMessageView.setHeaders(clonedMessage, account);
|
||||
setTitle(clonedMessage.getSubject());
|
||||
final String subject = clonedMessage.getSubject();
|
||||
if (subject == null || subject.equals("")) {
|
||||
setTitle(getString(R.string.general_no_subject));
|
||||
} else {
|
||||
setTitle(clonedMessage.getSubject());
|
||||
}
|
||||
mMessageView.setOnFlagListener(new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
Loading…
Reference in New Issue
Block a user