From 0edc976abde1a7d397dfda870b8589f0060dce23 Mon Sep 17 00:00:00 2001 From: Nazar Date: Mon, 17 Feb 2020 14:04:20 +0200 Subject: [PATCH] Small fixes --- OsmAnd/src/net/osmand/plus/helpers/ScrollHelper.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/ScrollHelper.java b/OsmAnd/src/net/osmand/plus/helpers/ScrollHelper.java index 8026ea7632..8fd43c49c2 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/ScrollHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/ScrollHelper.java @@ -33,12 +33,7 @@ public class ScrollHelper { public void run() { isInContinuousScrolling = true; while (hasActiveDirections()) { - app.runInUIThread(new Runnable() { - @Override - public void run() { - notifyListener(true); - } - }); + notifyListener(true); try { Thread.sleep(REFRESHING_DELAY_MS); } catch (InterruptedException e) {