Fix
This commit is contained in:
parent
2794e4566f
commit
f4f3d2d5a1
1 changed files with 8 additions and 7 deletions
|
@ -279,13 +279,6 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
||||||
}
|
}
|
||||||
mapView.refreshMap(true);
|
mapView.refreshMap(true);
|
||||||
|
|
||||||
if (((app.getAppInitializer().isFirstTime() && Version.isDeveloperVersion(app))
|
|
||||||
|| !app.getResourceManager().isAnyMapIstalled()) && FirstUsageWelcomeFragment.SHOW) {
|
|
||||||
FirstUsageWelcomeFragment.SHOW = false;
|
|
||||||
getSupportFragmentManager().beginTransaction()
|
|
||||||
.add(R.id.fragmentContainer, new FirstUsageWelcomeFragment(),
|
|
||||||
FirstUsageWelcomeFragment.TAG).commitAllowingStateLoss();
|
|
||||||
}
|
|
||||||
mapActions.updateDrawerMenu();
|
mapActions.updateDrawerMenu();
|
||||||
drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
|
drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
|
||||||
|
|
||||||
|
@ -628,6 +621,14 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
enableDrawer();
|
enableDrawer();
|
||||||
|
|
||||||
|
if (((app.getAppInitializer().isFirstTime() && Version.isDeveloperVersion(app))
|
||||||
|
|| !app.getResourceManager().isAnyMapIstalled()) && FirstUsageWelcomeFragment.SHOW) {
|
||||||
|
getSupportFragmentManager().beginTransaction()
|
||||||
|
.add(R.id.fragmentContainer, new FirstUsageWelcomeFragment(),
|
||||||
|
FirstUsageWelcomeFragment.TAG).commitAllowingStateLoss();
|
||||||
|
}
|
||||||
|
FirstUsageWelcomeFragment.SHOW = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue