Merge pull request #1017 from Bars107/master

Hotfix.
This commit is contained in:
Denis 2014-12-19 17:39:04 +02:00
commit 368a0fe280

View file

@ -138,7 +138,7 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca
@Override
public void onScrollChanged() {
int scrollY = mainScroll.getScrollY();
if (previousScroll == scrollY || mainScroll.getChildAt(0) == null){
if (previousScroll == scrollY || mainScroll.getChildCount() == 0){
return;
}