Skip to content

Commit

Permalink
Revert thumbnail null check for non image media
Browse files Browse the repository at this point in the history
Fixes #3436
Closes #3437
  • Loading branch information
McLoo authored and moxie0 committed Jun 16, 2015
1 parent 3bb966c commit ed6ea22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/thoughtcrime/securesms/ConversationItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ public void onClick(final View v, final Slide slide) {
intent.putExtra(MediaPreviewActivity.DATE_EXTRA, messageRecord.getDateReceived());

context.startActivity(intent);
} else if (slide.getThumbnailUri() != null) {
} else {
AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(context);
builder.setTitle(R.string.ConversationItem_view_secure_media_question);
builder.setIconAttribute(R.attr.dialog_alert_icon);
Expand Down

1 comment on commit ed6ea22

@WhisperBTC
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! BitHub has sent payment of $8.58USD for this commit.

Please sign in to comment.