kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix media thumbnail view operation.
An extreme edge case wasn't happening on the UI thread. Fixes #2800 Closes #2801 // FREEBIEfork-5.53.8
rodzic
1cc581aed8
commit
857135aab1
|
@ -612,7 +612,12 @@ public class ConversationItem extends LinearLayout {
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable error) {
|
public void onFailure(Throwable error) {
|
||||||
Log.w(TAG, error);
|
Log.w(TAG, error);
|
||||||
mediaThumbnail.setVisibility(View.GONE);
|
handler.post(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
mediaThumbnail.hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue