From c3532ce2b87ef32ce0fcd55c6f76357c26889197 Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 18 Jan 2012 22:59:59 +0100 Subject: [PATCH] fix build --- OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index b9a8bda539..96262081ae 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -471,7 +471,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference updateApplicationDirTextAndSummary(); applicationModePreference.setTitle(getString(R.string.settings_preset) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]"); - dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + DayNightMode.toHumanString(osmandSettings.DAYNIGHT_MODE.get()) + "]"); + dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + DayNightMode.osmandSettings.DAYNIGHT_MODE.get().toHumanString(this) + "]"); routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]"); }