From 4575b08964aea6d255332c2aa5116ae52b51b271 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 2 Jun 2012 13:00:44 +0200 Subject: [PATCH] Fix settings update --- OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index 3d8b59742f..b3d042fb06 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -515,6 +515,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference if (osmandSettings.ROUTER_SERVICE.get() == RouteService.OSMAND) { AccessibleToast.makeText(this, R.string.offline_navigation_not_available, Toast.LENGTH_LONG).show(); } + routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]"); } else if (listPref.getId().equals(osmandSettings.APPLICATION_MODE.getId())) { updateAllSettings(); } else if (listPref.getId().equals(osmandSettings.PREFERRED_LOCALE.getId())) { @@ -525,8 +526,6 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference startActivity(intent); } else if (listPref.getId().equals(osmandSettings.DAYNIGHT_MODE.getId())) { dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + osmandSettings.DAYNIGHT_MODE.get().toHumanString(this) + "]"); - } else if (listPref.getId().equals(osmandSettings.ROUTER_SERVICE.getId())) { - routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]"); } } if (listPref.getId().equals(osmandSettings.RENDERER.getId())) {