Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-12-19 16:39:10 +01:00
commit 43eefba5d6

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;
}