fixed missing image preview

This commit is contained in:
iNPUTmice 2015-01-20 22:54:26 +01:00
parent 04f4680582
commit 6dc53c2b35
1 changed files with 1 additions and 1 deletions

View File

@ -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);