Fix small issues

This commit is contained in:
Alex Sytnyk 2018-10-23 12:05:03 +03:00
parent 8ad0589eec
commit 37f5dd5c0f
2 changed files with 2 additions and 1 deletions

View file

@ -744,7 +744,7 @@ public class OsmandSettings {
public final CommonPreference<Boolean> SHOW_DASHBOARD_ON_MAP_SCREEN = new BooleanPreference("show_dashboard_on_map_screen", false).makeGlobal(); public final CommonPreference<Boolean> SHOW_DASHBOARD_ON_MAP_SCREEN = new BooleanPreference("show_dashboard_on_map_screen", false).makeGlobal();
public final CommonPreference<String> API_NAV_DRAWER_ITEMS_JSON = new StringPreference("api_nav_drawer_items_json", "{}").makeGlobal(); public final CommonPreference<String> API_NAV_DRAWER_ITEMS_JSON = new StringPreference("api_nav_drawer_items_json", "{}").makeGlobal();
public final CommonPreference<String> API_CONNECTED_APPS_JSON = new StringPreference("api_connected_apps_json", "{}").makeGlobal(); public final CommonPreference<String> API_CONNECTED_APPS_JSON = new StringPreference("api_connected_apps_json", "[]").makeGlobal();
public final CommonPreference<Integer> NUMBER_OF_STARTS_FIRST_XMAS_SHOWN = new IntPreference("number_of_starts_first_xmas_shown", 0).makeGlobal(); public final CommonPreference<Integer> NUMBER_OF_STARTS_FIRST_XMAS_SHOWN = new IntPreference("number_of_starts_first_xmas_shown", 0).makeGlobal();

View file

@ -892,6 +892,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
} }
public void showXMasDialog() { public void showXMasDialog() {
SecondSplashScreenFragment.SHOW = false;
dismissSecondSplashScreen(); dismissSecondSplashScreen();
new XMasDialogFragment().show(getSupportFragmentManager(), XMasDialogFragment.TAG); new XMasDialogFragment().show(getSupportFragmentManager(), XMasDialogFragment.TAG);
} }