fixed missing image preview
This commit is contained in:
parent
04f4680582
commit
6dc53c2b35
|
@ -72,7 +72,7 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> {
|
||||||
|
|
||||||
if (message.getImageParams().width > 0
|
if (message.getImageParams().width > 0
|
||||||
&& (message.getDownloadable() == null
|
&& (message.getDownloadable() == null
|
||||||
|| message.getDownloadable().getStatus() == Downloadable.STATUS_DELETED)) {
|
|| message.getDownloadable().getStatus() != Downloadable.STATUS_DELETED)) {
|
||||||
mLastMessage.setVisibility(View.GONE);
|
mLastMessage.setVisibility(View.GONE);
|
||||||
imagePreview.setVisibility(View.VISIBLE);
|
imagePreview.setVisibility(View.VISIBLE);
|
||||||
activity.loadBitmap(message, imagePreview);
|
activity.loadBitmap(message, imagePreview);
|
||||||
|
|
Loading…
Reference in New Issue