mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-30 14:50:14 -05: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:
parent
7459f6cd26
commit
c5851f2866
@ -1341,6 +1341,10 @@ public class MessageView extends K9Activity
|
|||||||
{
|
{
|
||||||
attachmentIcon.setImageBitmap(previewIcon);
|
attachmentIcon.setImageBitmap(previewIcon);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
attachmentIcon.setImageResource(R.drawable.attached_image_placeholder);
|
||||||
|
}
|
||||||
|
|
||||||
mHandler.addAttachment(view);
|
mHandler.addAttachment(view);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user