diff --git a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java index 300d60e521..ad1e1fac35 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java @@ -138,7 +138,7 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca @Override public void onScrollChanged() { int scrollY = mainScroll.getScrollY(); - if (previousScroll == scrollY){ + if (previousScroll == scrollY || mainScroll.getChildAt(0) == null){ return; }