Fix media thumbnail view operation.

An extreme edge case wasn't happening on the UI thread.

Fixes #2800
Closes #2801

// FREEBIE
pull/1/head
Rhodey Orbits 10 years ago committed by Moxie Marlinspike
parent 1cc581aed8
commit 857135aab1

@ -612,7 +612,12 @@ public class ConversationItem extends LinearLayout {
@Override
public void onFailure(Throwable error) {
Log.w(TAG, error);
mediaThumbnail.setVisibility(View.GONE);
handler.post(new Runnable() {
@Override
public void run() {
mediaThumbnail.hide();
}
});
}
}

Loading…
Cancel
Save