Fixed issue 698: Set default attachment preview image in the code (and not only in layout) so that whne moving from a message to another we get the right preview
This commit is contained in:
parent
7459f6cd26
commit
c5851f2866
1 changed files with 4 additions and 0 deletions
|
@ -1341,6 +1341,10 @@ public class MessageView extends K9Activity
|
|||
{
|
||||
attachmentIcon.setImageBitmap(previewIcon);
|
||||
}
|
||||
else
|
||||
{
|
||||
attachmentIcon.setImageResource(R.drawable.attached_image_placeholder);
|
||||
}
|
||||
|
||||
mHandler.addAttachment(view);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue