1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

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:
Bao-Long Nguyen-Trong 2010-02-16 06:53:02 +00:00
parent 7459f6cd26
commit c5851f2866

View File

@ -1341,6 +1341,10 @@ public class MessageView extends K9Activity
{
attachmentIcon.setImageBitmap(previewIcon);
}
else
{
attachmentIcon.setImageResource(R.drawable.attached_image_placeholder);
}
mHandler.addAttachment(view);
}