Simplification

pull/168/head
M66B 5 years ago
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…
Cancel
Save