mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
Fix media thumbnail view operation.
An extreme edge case wasn't happening on the UI thread. Fixes #2800 Closes #2801 // FREEBIE
This commit is contained in:
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…
x
Reference in New Issue
Block a user