mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
2e30aadad0
commit
7da4492a1f
|
@ -391,7 +391,7 @@ class ImageHelper {
|
|||
private static void fitDrawable(final Drawable d, final AnnotatedSource a, final View view) {
|
||||
Semaphore semaphore = new Semaphore(0);
|
||||
|
||||
new Handler(view.getContext().getMainLooper()).post(new Runnable() {
|
||||
view.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Rect bounds = d.getBounds();
|
||||
|
|
Loading…
Reference in New Issue