fix incoming progress indicator

Closes #3685
// FREEBIE
This commit is contained in:
Jake McGinty 2015-07-17 10:18:50 -07:00 committed by Moxie Marlinspike
parent f7e34a707d
commit 7ff484c0c7

View File

@ -263,7 +263,7 @@ public class ConversationItem extends LinearLayout {
mediaThumbnail.setImageResource(masterSecret, messageRecord.getId(),
messageRecord.getDateReceived(),
((MediaMmsMessageRecord)messageRecord).getSlideDeckFuture());
mediaThumbnail.setShowProgress(!messageRecord.isFailed() && messageRecord.isPending());
mediaThumbnail.setShowProgress(!messageRecord.isFailed() && (!messageRecord.isOutgoing() || messageRecord.isPending()));
bodyText.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
} else {
mediaThumbnail.setVisibility(View.GONE);