correct pref title error

This commit is contained in:
sonora 2012-07-29 22:26:35 +02:00
parent 91a94e4195
commit b1e55c00b4

View file

@ -105,7 +105,7 @@ public class OsmandMonitoringPlugin extends OsmandPlugin {
offlineData.setSummary(offlineData.getSummary() + " " + app.getString(R.string.gpx_index_settings_descr)); offlineData.setSummary(offlineData.getSummary() + " " + app.getString(R.string.gpx_index_settings_descr));
} }
PreferenceScreen grp = screen.getPreferenceManager().createPreferenceScreen(activity); PreferenceScreen grp = screen.getPreferenceManager().createPreferenceScreen(activity);
grp.setTitle(R.string.map_widget_monitoring); grp.setTitle(R.string.monitor_preferences);
grp.setSummary(R.string.monitor_preferences_descr); grp.setSummary(R.string.monitor_preferences_descr);
grp.setKey("monitor_settings"); grp.setKey("monitor_settings");
((PreferenceCategory) screen.findPreference("profile_dep_cat")).addPreference(grp); ((PreferenceCategory) screen.findPreference("profile_dep_cat")).addPreference(grp);