mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Show "(No subject)" in the message view for mails without subject.
This commit is contained in:
parent
fd26ec475a
commit
f706861599
@ -24,7 +24,6 @@ import android.view.animation.AccelerateInterpolator;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.TranslateAnimation;
|
||||
import android.webkit.*;
|
||||
import android.webkit.WebSettings.TextSize;
|
||||
import android.widget.*;
|
||||
import com.fsck.k9.*;
|
||||
import com.fsck.k9.mail.*;
|
||||
@ -265,7 +264,14 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
public void run()
|
||||
{
|
||||
setTitle(subject);
|
||||
mSubjectView.setText(subject);
|
||||
if (subject == null || subject.equals(""))
|
||||
{
|
||||
mSubjectView.setText(getText(R.string.general_no_subject));
|
||||
}
|
||||
else
|
||||
{
|
||||
mSubjectView.setText(subject);
|
||||
}
|
||||
mFromView.setText(from);
|
||||
if (date != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user