Fixed NPE in mainMenuActivity
This commit is contained in:
parent
83911e44b5
commit
eb8b15c300
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue