This commit is contained in:
Alexey Kulish 2016-09-16 19:38:32 +03:00
parent 2794e4566f
commit f4f3d2d5a1

View file

@ -279,13 +279,6 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
}
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();
drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
@ -628,6 +621,14 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
}
}
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