mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -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.showStatusMessage(text);
|
||||||
}
|
}
|
||||||
mMessageView.setHeaders(clonedMessage, account);
|
mMessageView.setHeaders(clonedMessage, account);
|
||||||
|
final String subject = clonedMessage.getSubject();
|
||||||
|
if (subject == null || subject.equals("")) {
|
||||||
|
setTitle(getString(R.string.general_no_subject));
|
||||||
|
} else {
|
||||||
setTitle(clonedMessage.getSubject());
|
setTitle(clonedMessage.getSubject());
|
||||||
|
}
|
||||||
mMessageView.setOnFlagListener(new OnClickListener() {
|
mMessageView.setOnFlagListener(new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
Loading…
Reference in New Issue
Block a user