From 37f5dd5c0f3adebd1bbfd852eeadef02fae66da3 Mon Sep 17 00:00:00 2001 From: Alex Sytnyk Date: Tue, 23 Oct 2018 12:05:03 +0300 Subject: [PATCH] Fix small issues --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 2 +- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 3963e86501..0fcba8c190 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -744,7 +744,7 @@ public class OsmandSettings { public final CommonPreference SHOW_DASHBOARD_ON_MAP_SCREEN = new BooleanPreference("show_dashboard_on_map_screen", false).makeGlobal(); public final CommonPreference API_NAV_DRAWER_ITEMS_JSON = new StringPreference("api_nav_drawer_items_json", "{}").makeGlobal(); - public final CommonPreference API_CONNECTED_APPS_JSON = new StringPreference("api_connected_apps_json", "{}").makeGlobal(); + public final CommonPreference API_CONNECTED_APPS_JSON = new StringPreference("api_connected_apps_json", "[]").makeGlobal(); public final CommonPreference NUMBER_OF_STARTS_FIRST_XMAS_SHOWN = new IntPreference("number_of_starts_first_xmas_shown", 0).makeGlobal(); diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index 4cf13623e7..b647a5705a 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -892,6 +892,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven } public void showXMasDialog() { + SecondSplashScreenFragment.SHOW = false; dismissSecondSplashScreen(); new XMasDialogFragment().show(getSupportFragmentManager(), XMasDialogFragment.TAG); }